.ssb-services-bento.spt-services-bento {
  --ssb-font-family: var(
    --sptm-font,
    "yekanbakh",
    "YekanBakh",
    "Yekan Bakh",
    "IRANYekanX",
    "Vazirmatn",
    Tahoma,
    Arial,
    sans-serif
  );
  --spt-white: #ffffff;
  --spt-text: #172033;
  --spt-muted: #657087;
  --spt-blue: #1677ff;
  --spt-blue-deep: #0f62fe;
  --spt-line: #e7edf5;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  padding: clamp(72px, 8vw, 112px) 24px;
  background: transparent;
  color: var(--spt-text);
  direction: rtl;
  font-family: var(--ssb-font-family) !important;
  font-weight: var(--sptm-w-regular, 400);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ssb-services-bento.spt-services-bento *,
.ssb-services-bento.spt-services-bento *::before,
.ssb-services-bento.spt-services-bento *::after {
  box-sizing: border-box;
}

.ssb-services-bento.spt-services-bento *,
.ssb-services-bento.spt-services-bento button,
.ssb-services-bento.spt-services-bento input,
.ssb-services-bento.spt-services-bento select,
.ssb-services-bento.spt-services-bento textarea {
  font-family: var(--ssb-font-family) !important;
}

.ssb-services-bento.spt-services-bento button {
  font: inherit;
  font-family: var(--ssb-font-family) !important;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.ssb-services-bento.spt-services-bento .spt-container {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  min-width: 0;
  margin-inline: auto;
}

.ssb-services-bento.spt-services-bento .spt-heading {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.ssb-services-bento.spt-services-bento .spt-heading h2 {
  margin: 0;
  color: #171c28;
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: var(--sptm-w-heading, 800);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.ssb-services-bento.spt-services-bento .spt-tabs-scroll {
  display: flex;
  justify-content: center;
  margin: 34px 0 24px;
}

.ssb-services-bento.spt-services-bento .spt-tabs {
  --spt-indicator-x: 0px;
  --spt-indicator-width: 0px;
  position: relative;
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 2px;
  border: 1px solid #e4e7ec;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
}

.ssb-services-bento.spt-services-bento .spt-tab-indicator {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  z-index: 0;
  width: var(--spt-indicator-width);
  border: 1px solid #c8d7ff;
  border-radius: 999px;
  background: #eef3ff;
  box-shadow:
    0 2px 7px rgba(65, 105, 225, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
  pointer-events: none;
  transform: translate3d(var(--spt-indicator-x), 0, 0);
  will-change: width, transform;
}

.ssb-services-bento.spt-services-bento .spt-tabs.is-ready .spt-tab-indicator {
  transition:
    width 320ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ssb-services-bento.spt-services-bento .spt-tab {
  position: relative;
  z-index: 1;
  min-height: 44px;
  flex: 0 0 auto;
  padding: 10px 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #1f2937;
  font-size: 14px;
  font-weight: var(--sptm-w-semibold, 600);
  line-height: 1.55;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 200ms ease,
    transform 200ms ease;
}

.ssb-services-bento.spt-services-bento .spt-tab:hover:not([aria-selected="true"]) {
  color: #315bdc;
}

.ssb-services-bento.spt-services-bento .spt-tab[aria-selected="true"] {
  background: transparent;
  color: #4164dc;
}

.ssb-services-bento.spt-services-bento .spt-tab:active {
  transform: scale(0.985);
}

.ssb-services-bento.spt-services-bento .spt-tab:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.22);
  outline-offset: 2px;
}

.ssb-services-bento.spt-services-bento .spt-panel[hidden] {
  display: none;
}

.ssb-services-bento.spt-services-bento .spt-panel {
  width: 100%;
  min-width: 0;
}

.ssb-services-bento.spt-services-bento .spt-panel.is-entering {
  animation: ssb-spt-panel-in 380ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ssb-services-bento.spt-services-bento .spt-grid {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-auto-flow: dense;
  grid-auto-rows: minmax(214px, auto);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.ssb-services-bento.spt-services-bento .spt-card {
  --spt-index: 0;
  position: relative;
  display: flex;
  grid-column: span 3;
  align-items: flex-start;
  flex-direction: column;
  min-width: 0;
  min-height: 214px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--spt-line);
  border-radius: 30px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(252, 253, 255, 0.99)),
    var(--spt-white);
  box-shadow: 0 5px 20px rgba(44, 70, 108, 0.035);
  opacity: 1;
  transform: none;
  transition:
    border-color 240ms ease,
    box-shadow 300ms ease,
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ssb-services-bento.spt-services-bento .spt-panel.is-entering .spt-card {
  opacity: 0;
  transform: translateY(14px) scale(0.99);
  animation: ssb-spt-card-in 560ms
    calc(35ms + (var(--spt-index) * 42ms))
    cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ssb-services-bento.spt-services-bento .spt-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    circle at 82% 12%,
    rgba(57, 140, 255, 0.085),
    transparent 38%
  );
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.ssb-services-bento.spt-services-bento .spt-card:hover {
  z-index: 2;
  border-color: #cfe0f7;
  box-shadow: 0 24px 58px rgba(28, 75, 145, 0.14);
  transform: translateY(-5px);
}

.ssb-services-bento.spt-services-bento .spt-card:hover::before {
  opacity: 1;
}

.ssb-services-bento.spt-services-bento .spt-arrow {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #e6edf6;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #7d8ba0;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition:
    opacity 220ms ease,
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ssb-services-bento.spt-services-bento .spt-arrow svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.ssb-services-bento.spt-services-bento .spt-card:hover .spt-arrow {
  border-color: var(--spt-blue);
  background: var(--spt-blue);
  color: #fff;
  opacity: 1;
  transform: translate(0);
}

.ssb-services-bento.spt-services-bento .spt-visual {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  min-height: 132px;
  flex: 1;
  place-items: center;
}

.ssb-services-bento.spt-services-bento .spt-visual::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 148px;
  height: 148px;
  border: 1px solid rgba(103, 164, 242, 0.11);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(220, 237, 255, 0.45),
    rgba(245, 249, 255, 0.05) 66%,
    transparent 68%
  );
  content: "";
  transform: translate(-50%, -50%) scale(0.9);
  transition:
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 300ms ease;
}

.ssb-services-bento.spt-services-bento .spt-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: min(72%, 190px);
  height: auto;
  max-height: 150px;
  object-fit: contain;
  user-select: none;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 300ms ease;
}

.ssb-services-bento.spt-services-bento .spt-visual img[src=""] {
  display: none;
}

.ssb-services-bento.spt-services-bento .spt-card:hover .spt-visual img {
  filter: saturate(1.08) contrast(1.025);
  transform: translateY(-3px) scale(1.045);
}

.ssb-services-bento.spt-services-bento .spt-card:hover .spt-visual::before {
  border-color: rgba(60, 141, 241, 0.2);
  transform: translate(-50%, -50%) scale(1);
}

.ssb-services-bento.spt-services-bento .spt-card h3 {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 12px 0 0;
  color: #22314a;
  font-size: 15px;
  font-weight: var(--sptm-w-heading, 700);
  line-height: 1.75;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
  transition: color 220ms ease;
}

.ssb-services-bento.spt-services-bento .spt-card:hover h3 {
  color: var(--spt-blue-deep);
}

.ssb-services-bento.spt-services-bento .spt-grid[data-count="3"] .spt-card {
  min-height: 330px;
}

.ssb-services-bento.spt-services-bento .spt-grid[data-count="3"] .spt-card:first-child {
  grid-column: span 6;
}

.ssb-services-bento.spt-services-bento .spt-grid[data-count="3"] .spt-card:not(:first-child) {
  grid-column: span 3;
}

.ssb-services-bento.spt-services-bento .spt-grid[data-count="3"] .spt-card:first-child .spt-visual img {
  max-width: min(54%, 270px);
  max-height: 220px;
}

.ssb-services-bento.spt-services-bento .spt-grid[data-count="3"] .spt-card:first-child .spt-visual::before {
  width: 230px;
  height: 230px;
}

.ssb-services-bento.spt-services-bento .spt-grid[data-count="3"] .spt-card:first-child h3 {
  font-size: 19px;
}

.ssb-services-bento.spt-services-bento .spt-grid[data-count="8"] .spt-card:first-child {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 444px;
  background:
    linear-gradient(145deg, rgba(238, 246, 255, 0.82), rgba(255, 255, 255, 0.98) 62%),
    #fff;
}

.ssb-services-bento.spt-services-bento
  .spt-grid[data-count="8"]
  .spt-card:nth-child(n + 2):nth-child(-n + 5) {
  grid-column: span 3;
}

.ssb-services-bento.spt-services-bento .spt-grid[data-count="8"] .spt-card:nth-child(n + 6) {
  grid-column: span 4;
}

.ssb-services-bento.spt-services-bento .spt-grid[data-count="8"] .spt-card:first-child .spt-visual img {
  max-width: min(62%, 280px);
  max-height: 245px;
}

.ssb-services-bento.spt-services-bento .spt-grid[data-count="8"] .spt-card:first-child .spt-visual::before {
  width: 260px;
  height: 260px;
}

.ssb-services-bento.spt-services-bento .spt-grid[data-count="8"] .spt-card:first-child h3 {
  font-size: 20px;
}

@keyframes ssb-spt-card-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ssb-spt-panel-in {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
}

@media (max-width: 1020px) {
  .ssb-services-bento.spt-services-bento {
    padding: 64px 20px 72px;
  }

  .ssb-services-bento.spt-services-bento .spt-heading h2 {
    font-size: clamp(34px, 5.5vw, 44px);
  }

  .ssb-services-bento.spt-services-bento .spt-tabs-scroll {
    justify-content: flex-start;
    max-width: 100%;
    margin: 30px 0 22px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .ssb-services-bento.spt-services-bento .spt-tabs-scroll::-webkit-scrollbar {
    display: none;
  }

  .ssb-services-bento.spt-services-bento .spt-tabs {
    width: max-content;
    min-width: max-content;
    flex: 0 0 auto;
    padding: 2px;
    border-radius: 999px;
  }

  .ssb-services-bento.spt-services-bento .spt-tab {
    min-width: 210px;
    min-height: 44px;
    flex: 0 0 auto;
    padding: 9px 20px;
    font-size: 13px;
    scroll-snap-align: center;
  }

  .ssb-services-bento.spt-services-bento .spt-grid[data-count] .spt-card,
  .ssb-services-bento.spt-services-bento .spt-grid[data-count] .spt-card:first-child,
  .ssb-services-bento.spt-services-bento .spt-grid[data-count] .spt-card:not(:first-child),
  .ssb-services-bento.spt-services-bento
    .spt-grid[data-count]
    .spt-card:nth-child(n + 2):nth-child(-n + 5),
  .ssb-services-bento.spt-services-bento .spt-grid[data-count] .spt-card:nth-child(n + 6) {
    grid-column: span 6;
    grid-row: span 1;
    min-height: 270px;
    padding: 17px;
    border-radius: 27px;
  }

  .ssb-services-bento.spt-services-bento
    .spt-grid[data-count]
    .spt-card:first-child
    .spt-visual
    img {
    max-width: min(72%, 200px);
    max-height: 170px;
  }

  .ssb-services-bento.spt-services-bento
    .spt-grid[data-count]
    .spt-card:first-child
    .spt-visual::before {
    width: 165px;
    height: 165px;
  }

  .ssb-services-bento.spt-services-bento .spt-grid[data-count] .spt-card:first-child h3 {
    font-size: 16px;
  }

  .ssb-services-bento.spt-services-bento
    .spt-grid[data-count="3"]
    .spt-card:last-child:nth-child(3) {
    grid-column: 4 / span 6;
  }
}

@media (max-width: 720px) {
  .ssb-services-bento.spt-services-bento {
    padding: 52px 14px 64px;
  }

  .ssb-services-bento.spt-services-bento .spt-heading h2 {
    font-size: clamp(30px, 9vw, 36px);
    letter-spacing: -0.035em;
  }

  .ssb-services-bento.spt-services-bento .spt-tabs-scroll {
    margin: 26px 0 18px;
    padding-bottom: 7px;
  }

  .ssb-services-bento.spt-services-bento .spt-tabs {
    padding: 2px;
    border-radius: 999px;
  }

  .ssb-services-bento.spt-services-bento .spt-tab {
    min-width: 195px;
    min-height: 42px;
    flex-basis: auto;
    padding: 8px 18px;
    border-radius: 999px;
    line-height: 1.55;
  }

  .ssb-services-bento.spt-services-bento .spt-tab-indicator {
    top: 2px;
    bottom: 2px;
    border-radius: 999px;
  }

  .ssb-services-bento.spt-services-bento .spt-grid {
    grid-auto-rows: auto;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ssb-services-bento.spt-services-bento .spt-grid[data-count] .spt-card,
  .ssb-services-bento.spt-services-bento .spt-grid[data-count] .spt-card:first-child,
  .ssb-services-bento.spt-services-bento .spt-grid[data-count] .spt-card:not(:first-child),
  .ssb-services-bento.spt-services-bento
    .spt-grid[data-count]
    .spt-card:nth-child(n + 2):nth-child(-n + 5),
  .ssb-services-bento.spt-services-bento .spt-grid[data-count] .spt-card:nth-child(n + 6) {
    grid-column: 1 / -1;
    min-height: 235px;
    padding: 16px;
    border-radius: 25px;
  }

  .ssb-services-bento.spt-services-bento
    .spt-grid[data-count="3"]
    .spt-card:last-child:nth-child(3) {
    grid-column: 1 / -1;
  }

  .ssb-services-bento.spt-services-bento .spt-visual {
    min-height: 142px;
  }

  .ssb-services-bento.spt-services-bento .spt-visual img,
  .ssb-services-bento.spt-services-bento
    .spt-grid[data-count]
    .spt-card:first-child
    .spt-visual
    img {
    max-width: min(68%, 180px);
    max-height: 155px;
  }

  .ssb-services-bento.spt-services-bento .spt-visual::before,
  .ssb-services-bento.spt-services-bento
    .spt-grid[data-count]
    .spt-card:first-child
    .spt-visual::before {
    width: 150px;
    height: 150px;
  }

  .ssb-services-bento.spt-services-bento .spt-arrow {
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    opacity: 1;
    transform: none;
  }

  .ssb-services-bento.spt-services-bento .spt-card h3,
  .ssb-services-bento.spt-services-bento .spt-grid[data-count] .spt-card:first-child h3 {
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .ssb-services-bento.spt-services-bento {
    padding: 46px 12px 56px;
  }

  .ssb-services-bento.spt-services-bento .spt-tab {
    min-width: 185px;
    flex-basis: auto;
    font-size: 12px;
  }

  .ssb-services-bento.spt-services-bento .spt-grid[data-count] .spt-card,
  .ssb-services-bento.spt-services-bento .spt-grid[data-count] .spt-card:first-child,
  .ssb-services-bento.spt-services-bento .spt-grid[data-count] .spt-card:not(:first-child),
  .ssb-services-bento.spt-services-bento
    .spt-grid[data-count]
    .spt-card:nth-child(n + 2):nth-child(-n + 5),
  .ssb-services-bento.spt-services-bento .spt-grid[data-count] .spt-card:nth-child(n + 6) {
    min-height: 222px;
  }
}

@media (hover: none) {
  .ssb-services-bento.spt-services-bento .spt-card:hover {
    border-color: var(--spt-line);
    box-shadow: 0 5px 20px rgba(44, 70, 108, 0.035);
    transform: none;
  }

  .ssb-services-bento.spt-services-bento .spt-card:hover::before {
    opacity: 0;
  }

  .ssb-services-bento.spt-services-bento .spt-card:hover .spt-visual img {
    filter: none;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ssb-services-bento.spt-services-bento *,
  .ssb-services-bento.spt-services-bento *::before,
  .ssb-services-bento.spt-services-bento *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .ssb-services-bento.spt-services-bento .spt-panel.is-entering .spt-card {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
