.sb-hero {
  --sb-hero-shell: min(1824px, calc(100% - 224px));
  position: relative;
  min-height: 100vh;
  padding: 90px 0 74px;
  overflow: hidden;
  color: #111827;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 0%, rgba(21, 114, 232, 0.08) 0%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 84% 0%, rgba(49, 206, 54, 0.06) 0%, rgba(255, 255, 255, 0) 30%),
    #ffffff;
}

.sb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(17, 24, 39, 0.045) 1px, transparent 1px), 
    linear-gradient(90deg, rgba(17, 24, 39, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.38) 46%, rgba(0, 0, 0, 0) 86%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.38) 46%, rgba(0, 0, 0, 0) 86%);
  pointer-events: none;
}

.sb-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 78%);
  pointer-events: none;
}

.sb-hero .container {
  position: relative;
  z-index: 1;
  width: var(--sb-hero-shell);
  max-width: none;
}

.sb-hero-content {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  text-align: center;
}

.sb-hero-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 44px;
  margin-bottom: 44px;
  padding: 7px 12px;
  border: 1px solid rgba(209, 219, 234, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #111827;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: none;
}

.sb-hero-kicker-google {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.sb-hero-kicker-divider {
  width: 1px;
  height: 21px;
  flex: 0 0 auto;
  background: #d8e1ee;
}

.sb-hero-kicker-text {
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.sb-hero-kicker-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.sb-hero-kicker-rating strong {
  color: #111827;
  font-size: 15px;
  font-weight: 600;
}

.sb-hero-kicker-star {
  color: #e7711b;
  font-size: 16px;
  line-height: 1;
}

.sb-hero-title {
  max-width: 1280px;
  margin: 0 auto 40px;
  color: #111827;
  font-size: 68px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
}

.sb-hero-description {
  max-width: 920px;
  margin: 0 auto 54px;
  color: #4b5563;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.68;
}

.sb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
}

.sb-hero-btn {
  min-width: 176px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 45px;
  font-size: 16px;
  font-weight: 600;
  background-size: 200% 100%;
  background-position: 100% 0;
  transition: background-position 0.34s ease, border-color 0.18s ease, color 0.18s ease;
}

.sb-hero-btn:hover,
.sb-hero-btn:focus {
  text-decoration: none;
}

.sb-hero-btn-primary {
  border: 0;
  color: #ffffff;
  background-image: linear-gradient(90deg, #073fb8 0 50%, #1572e8 50% 100%);
}

.sb-hero-btn-primary:hover,
.sb-hero-btn-primary:focus {
  color: #ffffff;
  background-position: 0 0;
}

.sb-hero-btn-secondary {
  border: 1px solid #d9e2ef;
  color: #111827;
  background-image: linear-gradient(90deg, #eef2f7 0 50%, #ffffff 50% 100%);
}

.sb-hero-btn-secondary:hover,
.sb-hero-btn-secondary:focus {
  color: #1572e8;
  border-color: rgba(21, 114, 232, 0.34);
  background-position: 0 0;
}

.sb-hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
  max-width: 920px;
  margin: 0 auto 62px;
}

.sb-hero-trust li {
  position: relative;
  padding-left: 24px;
  color: #374151;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.sb-hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #31ce36;
  box-shadow: 0 0 0 5px rgba(49, 206, 54, 0.14);
}

.sb-hero-carousel-shell {
  position: relative;
  width: min(1240px, 100%);
  max-width: none;
  margin: 0 auto;
  border: 0;
  border-radius: 28px;
  background: #eef2f7;
  box-shadow:
    inset 0 0 0 1px rgba(203, 213, 225, 0.28),
    0 10px 20px rgba(17, 24, 39, 0.045);
}

.sb-hero-carousel-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 28px;
  background: #eef2f7;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.sb-hero-carousel-stage.is-dragging {
  cursor: grabbing;
}

.sb-hero-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.sb-hero-carousel-stage.is-dragging .sb-hero-carousel-track {
  transition: none;
}

.sb-hero-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  margin: 0;
  background: #eef2f7;
}

.sb-hero-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.sb-hero-carousel-control {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(217, 226, 239, 0.82);
  border-radius: 999px;
  color: #111827;
  background: rgba(255, 255, 255, 0.88);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  opacity: 0.72;
  transform: translateY(-50%);
  transition: opacity 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.sb-hero-carousel-control:hover,
.sb-hero-carousel-control:focus {
  opacity: 1;
  border-color: rgba(21, 114, 232, 0.30);
  background: #ffffff;
  outline: 0;
}

.sb-hero-carousel-control-prev {
  left: 16px;
}

.sb-hero-carousel-control-next {
  right: 16px;
}

.sb-hero-carousel-control span {
  display: block;
  transform: translateY(-2px);
}

.sb-hero-carousel-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
}

.sb-hero-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  opacity: 0.8;
  transition: width 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.sb-hero-carousel-dots button.is-active {
  width: 22px;
  opacity: 1;
  background: #ffffff;
}

.sb-partners {
  width: 100%;
  max-width: none;
  margin: 124px auto 0;
  text-align: center;
}

.sb-partners-label {
  max-width: none;
  margin: 0 auto 34px;
  color: #374151;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
}

.sb-partners-carousel {
  position: relative;
  display: flex;
  overflow: hidden;
  --sb-partners-gap: 28px;
  --sb-partners-card-width: 120px;

  width: calc(100% + 68px);
  margin-left: -34px;
  padding: 16px 34px 18px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
}

.sb-partners-track {
  display: flex;
  flex: 0 0 auto;
  gap: var(--sb-partners-gap);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.sb-partners-carousel.is-dragging {
  cursor: grabbing;
}

.sb-partners-carousel.is-dragging .sb-partners-track {
  transition: none;
}

.sb-partners-carousel.is-dragging a {
  pointer-events: none;
}

.sb-partner-card {
  width: var(--sb-partners-card-width);
  flex: 0 0 auto;
  display: grid;
  grid-template-rows: 92px auto;
  gap: 14px;
  justify-items: center;
  color: #111827;
  text-decoration: none;
}

.sb-partner-card img {
  width: 92px;
  height: 92px;
  display: block;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 12px;
  background: #ffffff;
  object-fit: contain;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.sb-partner-card span {
  max-width: 116px;
  display: block;
  overflow: hidden;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-partner-card:hover,
.sb-partner-card:focus {
  color: #1572e8;
  text-decoration: none;
}

.sb-partner-card:hover img,
.sb-partner-card:focus img {
  border-color: rgba(21, 114, 232, 0.24);
  transform: translateY(-2px);
}

.sb-partner-card:hover span,
.sb-partner-card:focus span {
  color: #1572e8;
}

.sb-partners a:not(.sb-partner-card) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1499.98px) {
  .sb-hero {
    --sb-hero-shell: min(1520px, calc(100% - 120px));
  }
}

@media (max-width: 991.98px) {
  .sb-hero {
    --sb-hero-shell: calc(100% - 56px);
    padding-top: 70px;
  }

  .sb-hero-title {
    max-width: 760px;
    font-size: 50px;
    line-height: 1.14;
  }

  .sb-hero-description {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.68;
  }

}

@media (max-width: 767.98px) {
  .sb-hero {
    --sb-hero-shell: calc(100% - 24px);
    padding-top: 54px;
    background:
      radial-gradient(circle at 10% 0%, rgba(21, 114, 232, 0.08) 0%, rgba(255, 255, 255, 0) 38%),
      radial-gradient(circle at 90% 0%, rgba(49, 206, 54, 0.06) 0%, rgba(255, 255, 255, 0) 32%),
      #ffffff;
  }

  .sb-hero::before {
    opacity: 1;
    background:
      linear-gradient(rgba(17, 24, 39, 0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(17, 24, 39, 0.06) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.58) 50%, rgba(0, 0, 0, 0.12) 86%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.58) 50%, rgba(0, 0, 0, 0.12) 86%, rgba(0, 0, 0, 0) 100%);
  }

  .sb-hero-kicker {
    gap: 10px;
    min-height: auto;
    max-width: 100%;
    margin-bottom: 30px;
    padding: 10px 12px;
  }

  .sb-hero-kicker-divider {
    height: 20px;
  }

  .sb-hero-kicker-google + .sb-hero-kicker-divider,
  .sb-hero-kicker-text {
    display: none;
  }

  .sb-hero-kicker-google {
    width: 24px;
    height: 24px;
  }

  .sb-hero-kicker-text,
  .sb-hero-kicker-rating {
    font-size: 12px;
  }

  .sb-hero-kicker-rating strong {
    font-size: 13px;
  }

  .sb-hero-kicker-star {
    font-size: 15px;
  }

  .sb-hero-title {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.18;
  }

  .sb-hero-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.72;
  }

  .sb-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sb-hero-btn {
    width: 100%;
  }

  .sb-hero-trust {
    justify-content: flex-start;
    margin-bottom: 44px;
    text-align: left;
  }

  .sb-hero-carousel-shell {
    border-radius: 0;
    box-shadow: none;
  }

  .sb-hero-carousel-stage {
    border-radius: 0;
  }

  .sb-hero-carousel-control {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .sb-hero-carousel-control-prev {
    left: 10px;
  }

  .sb-hero-carousel-control-next {
    right: 10px;
  }

  .sb-partners {
    margin-top: 70px;
  }

  .sb-partners-label {
    max-width: 520px;
    margin-bottom: 22px;
    font-size: 16px;
  }

  .sb-partners-carousel {
    --sb-partners-gap: 20px;
    --sb-partners-card-width: 104px;
    width: calc(100% + 40px);
    margin-left: -20px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .sb-partner-card {
    grid-template-rows: 82px auto;
    gap: 12px;
  }

  .sb-partner-card img {
    width: 82px;
    height: 82px;
  }

  .sb-partner-card span {
    max-width: 100px;
    font-size: 13px;
  }
}
