/* Сайт/Берри — типографика и компактная вёрстка */

:root {
  --aigence-font: "Unbounded", sans-serif;
  --sb-scrollbar-thumb: #d032af;
  --sb-scrollbar-track: rgba(13, 26, 66, 0.1);
  --section-space: 72px;
  --section-space-2: 60px;
}

html,
body {
  overflow-x: clip;
  max-width: 100%;
}
html {
  scrollbar-width: thin;
  scrollbar-color: var(--sb-scrollbar-thumb) var(--sb-scrollbar-track);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--sb-scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #d930aa 0%, var(--sb-scrollbar-thumb) 100%);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #d930aa 0%, #3e5dff 100%);
}

/* ── Прелоадер ── */
.sb-preloader-screen {
  position: fixed;
  inset: 0;
  z-index: 9991;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--aigence-black, #0D1A42);
  transition: opacity 0.65s ease, visibility 0.65s ease, transform 0.65s ease, filter 0.65s ease;
}

/* Ромбовидная сетка */
.sb-preloader-screen::before {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 27px,
      rgba(255, 255, 255, 0.055) 27px,
      rgba(255, 255, 255, 0.055) 28px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0,
      transparent 27px,
      rgba(62, 93, 255, 0.09) 27px,
      rgba(62, 93, 255, 0.09) 28px
    );
  -webkit-mask-image: radial-gradient(
    ellipse 72% 62% at 50% 48%,
    transparent 8%,
    rgba(0, 0, 0, 0.55) 42%,
    #000 78%
  );
  mask-image: radial-gradient(
    ellipse 72% 62% at 50% 48%,
    transparent 8%,
    rgba(0, 0, 0, 0.55) 42%,
    #000 78%
  );
  animation: sbPreGridDrift 22s linear infinite;
}

/* Виньетка поверх сетки */
.sb-preloader-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 90% 80% at 50% 50%,
      transparent 42%,
      rgba(8, 14, 36, 0.55) 100%
    );
}

/* Те же угловые свечения, что в отзывах */
.sb-preloader-screen__aurora {
  position: absolute;
  inset: -20%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 45% 40% at 20% 30%, rgba(217, 48, 170, 0.38) 0%, transparent 65%),
    radial-gradient(ellipse 45% 40% at 82% 78%, rgba(217, 48, 170, 0.38) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 85% 20%, rgba(62, 93, 255, 0.34) 0%, transparent 68%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(62, 93, 255, 0.18) 0%, transparent 70%);
  animation: sbPreAurora 14s ease-in-out infinite alternate;
}
@keyframes sbPreAurora {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3%, 2%, 0) scale(1.08); }
}

.sb-preloader-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.05);
  filter: blur(8px);
}
.sb-preloader {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, 1.1vw, 10px);
  padding: 0 24px;
  max-width: 100%;
  transform: scale(0.5);
  transform-origin: center center;
}
.sb-preloader__core {
  position: relative;
  flex-shrink: 0;
  overflow: visible;
}
.sb-preloader__core::after {
  content: "";
  position: absolute;
  inset: -35% -15%;
  background: radial-gradient(ellipse at center, rgba(208, 50, 175, 0.42) 0%, rgba(62, 93, 255, 0.12) 42%, transparent 72%);
  opacity: 0;
  transform: scale(0.6);
  animation: sbPreGlow 0.85s ease 1.05s forwards;
  pointer-events: none;
  z-index: -1;
}
.sb-preloader__text {
  display: block;
  width: clamp(240px, 74vw, 559px);
  aspect-ratio: 559 / 96;
  opacity: 0;
  clip-path: inset(0 50% 0 50%);
  background-color: #fff;
  -webkit-mask-image: url("../../img/preloader3.png");
  mask-image: url("../../img/preloader3.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  animation: sbPreTextIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.sb-preloader__slash {
  position: absolute;
  left: 44%;
  top: 50%;
  width: clamp(14px, 4vw, 33px);
  height: auto;
  opacity: 0;
  transform: translate(-50%, -50%) scale(2.4) rotate(-38deg);
  filter: drop-shadow(0 0 0 rgba(208, 50, 175, 0));
  animation: sbPreSlashIn 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) 0.85s forwards;
}
.sb-preloader__side {
  flex-shrink: 0;
  opacity: 0;
}
.sb-preloader__side img {
  display: block;
  width: clamp(54px, 14vw, 134px);
  height: auto;
}
.sb-preloader__side--left {
  transform: translateX(-120px) scale(0.55);
  animation: sbPreSideLeft 0.95s cubic-bezier(0.22, 1.4, 0.36, 1) 1.55s forwards;
}
.sb-preloader__side--right {
  transform: translateX(120px) scale(0.55);
  animation: sbPreSideRight 0.95s cubic-bezier(0.22, 1.4, 0.36, 1) 1.72s forwards;
}

/* Текст «Сайт Берри» после появления */
.sb-preloader__text.is-in {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  filter: blur(0);
  transform: scale(1);
  animation: none;
  background-color: #fff;
  background-image: none;
}
@keyframes sbPreTextIn {
  0% {
    opacity: 0;
    clip-path: inset(0 50% 0 50%);
    filter: blur(10px);
    transform: scale(0.92);
  }
  55% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    filter: blur(0);
    transform: scale(1);
  }
}
@keyframes sbPreSlashIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -70%) scale(2.4) rotate(-38deg);
    filter: drop-shadow(0 0 0 rgba(208, 50, 175, 0));
  }
  45% {
    opacity: 1;
    transform: translate(-50%, -46%) scale(0.78) rotate(10deg);
    filter: drop-shadow(0 0 22px rgba(208, 50, 175, 0.95));
  }
  68% {
    transform: translate(-50%, -53%) scale(1.12) rotate(-4deg);
    filter: drop-shadow(0 0 14px rgba(62, 93, 255, 0.7));
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    filter: drop-shadow(0 0 10px rgba(208, 50, 175, 0.45));
  }
}
@keyframes sbPreGlow {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  35% {
    opacity: 1;
    transform: scale(1.08);
  }
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
}
@keyframes sbPreSideLeft {
  0% {
    opacity: 0;
    transform: translateX(-120px) scale(0.55);
  }
  65% {
    opacity: 1;
    transform: translateX(10px) scale(1.06);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes sbPreSideRight {
  0% {
    opacity: 0;
    transform: translateX(120px) scale(0.55);
  }
  65% {
    opacity: 1;
    transform: translateX(-10px) scale(1.06);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes sbPreGridDrift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(40px, 40px, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sb-preloader-screen.is-hidden {
    transform: none;
    filter: none;
  }
  .sb-preloader-screen::before,
  .sb-preloader-screen__aurora {
    animation: none;
  }
  .sb-preloader__core::after {
    display: none;
  }
  .sb-preloader {
    animation: none !important;
  }
  .sb-preloader__text,
  .sb-preloader__slash,
  .sb-preloader__side--left,
  .sb-preloader__side--right {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }
  .sb-preloader__slash {
    transform: translate(-50%, -50%) !important;
  }
}

body,
button,
input,
textarea,
select {
  font-family: var(--aigence-font);
}

/* ── Шапка ── */
.sb-topbar-inner {
  justify-content: center;
}
.sb-topbar-info {
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
  gap: 26px;
}
.sb-topbar-social-item {
  display: flex;
  align-items: center;
}
.sb-topbar-social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sb-topbar-social a,
.topbar--two .topbar__info .sb-topbar-social a,
.topbar--two .topbar__info .sb-topbar-social a .fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: none !important;
  font-size: 15px;
  line-height: 1;
  color: var(--aigence-base, #d032af);
  transition: color 0.3s ease;
}
.sb-topbar-social a:hover,
.sb-topbar-social a:hover .fab,
.topbar--two .topbar__info .sb-topbar-social a:hover,
.topbar--two .topbar__info .sb-topbar-social a:hover .fab {
  color: var(--aigence-primary, #3E5DFF);
  background: none !important;
}
.sb-icon-max-topbar {
  display: block;
  width: 15px;
  height: 15px;
  object-fit: contain;
  transition: filter 0.3s ease;
  filter: brightness(0) saturate(100%) invert(37%) sepia(67%) saturate(3574%) hue-rotate(288deg) brightness(92%) contrast(88%);
}
.sb-topbar-social a:hover .sb-icon-max-topbar {
  filter: brightness(0) saturate(100%) invert(34%) sepia(93%) saturate(2476%) hue-rotate(226deg) brightness(101%) contrast(103%);
}
.main-header__logo a {
  display: inline-flex;
  align-items: center;
}
.main-menu .megamenu > ul {
  display: none !important;
}
.main-header--two .main-menu .main-menu__list {
  flex-wrap: nowrap;
}
.main-header--two .main-menu .main-menu__list > li {
  padding-top: 34px;
  padding-bottom: 34px;
}
.main-header--two .main-menu .main-menu__list > li + li {
  margin-left: 16px;
}
.main-header--two .main-menu .main-menu__list > li > a {
  font-size: 12px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.main-header--two .main-menu .main-menu__list > li.current > a,
.main-header--two .main-menu .main-menu__list > li.current > a:hover {
  background: linear-gradient(90deg, #D930AA 0%, #3E5DFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .main-header--two .main-menu .main-menu__list > li + li {
    margin-left: 12px;
  }
  .main-header--two .main-menu .main-menu__list > li > a {
    font-size: 11px;
  }
}
.main-header__phone {
  display: inline-flex;
  position: relative;
  margin-left: 0;
  font-size: 20px;
  color: var(--aigence-base, #D032AF);
  transition: all 500ms ease;
}
.main-header__phone::before {
  content: none;
}
.main-header__phone:hover {
  color: var(--aigence-white, #FFFFFF);
}
.sb-header-progress {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-left: 56px;
  position: relative;
  flex: 0 0 auto;
}
.sb-header-progress::before {
  content: "";
  width: 1px;
  height: 40px;
  position: absolute;
  top: 50%;
  left: -28px;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
}
.sb-header-progress__row {
  display: flex;
  align-items: center;
}
.sb-header-scroll {
  display: none;
  align-items: center;
  justify-content: flex-end;
  margin-left: 14px;
  width: 3.2em;
  min-width: 3.2em;
  flex: 0 0 3.2em;
  font-family: var(--aigence-font), "Unbounded", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  color: #fff;
  white-space: nowrap;
  text-align: right;
  user-select: none;
  pointer-events: none;
}
.sb-header-progress__track {
  display: none;
  width: 100%;
  height: 2px;
  margin-top: 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  pointer-events: none;
}
.sb-header-progress__bar {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d930aa 0%, #3e5dff 100%);
  transition: width 0.12s linear;
}
.sticky-header--cloned .sb-header-scroll {
  display: inline-flex;
}
.sticky-header--cloned .sb-header-progress__track {
  display: block;
}
@media (max-width: 991px) {
  .sb-header-scroll,
  .sb-header-progress__track {
    display: none !important;
  }
}
@media (max-width: 1199px) {
  .main-header__inner {
    position: relative;
    justify-content: space-between;
  }
  .main-header__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    margin: 0 !important;
  }
  .main-header__right {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
    gap: 0;
    z-index: 2;
  }
  .mobile-nav__btn {
    order: -1;
    margin: 0;
  }
  .sb-header-progress {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    margin-left: 0 !important;
    margin-right: 0;
  }
  .sb-header-progress::before {
    display: none;
  }
  .main-header__btn {
    display: none;
  }
}
@media (max-width: 767px) {
  .sb-header-progress::before {
    display: none;
  }
}
@media (max-width: 430px) {
  .sb-header-progress {
    margin-left: 0 !important;
  }
  .sb-header-progress::before {
    display: none;
  }
}

/* ── Hero ── */
h1.hero-two__title,
.hero-two__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 auto 18px;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -1.6px;
  line-height: 1.15;
  max-width: 980px;
  color: #fff;
}
.hero-two__title-line {
  display: block;
}
.hero-two__title-line--muted {
  font-weight: 400;
  font-size: 0.68em;
  letter-spacing: -0.6px;
  color: rgba(255, 255, 255, 0.72);
}
.hero-two__title-nowrap {
  white-space: nowrap;
}
.hero-two__title-accent {
  font-style: normal;
  font-weight: 800;
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--aigence-base, #D032AF) 0%,
    var(--aigence-primary, #3E5DFF) 60%,
    #7b9bff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: sb-title-pulse 3s ease-in-out infinite;
}
.hero-two__title-accent.sb-glitch-active {
  animation: sb-glitch 0.35s steps(2) 2, sb-title-pulse 3s ease-in-out infinite;
}
.sb-footer-tagline.sb-glitch-active .sb-footer-tagline__accent {
  animation: sb-glitch 0.35s steps(2) 2, sb-title-pulse 3s ease-in-out infinite;
}
@keyframes sb-glitch {
  0% {
    transform: translate(0);
    text-shadow: 2px 0 var(--aigence-base, #D032AF), -2px 0 var(--aigence-primary, #3E5DFF);
  }
  50% {
    transform: translate(2px, -1px);
    text-shadow: -2px 0 var(--aigence-base, #D032AF), 2px 0 var(--aigence-primary, #3E5DFF);
  }
  100% {
    transform: translate(0);
    text-shadow: none;
  }
}
@keyframes sb-title-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(62, 93, 255, 0.35));
  }
  50% {
    filter: drop-shadow(0 0 22px rgba(208, 50, 175, 0.5));
  }
}
@media (max-width: 1199px) {
  h1.hero-two__title,
  .hero-two__title {
    font-size: 38px;
    letter-spacing: -1.2px;
  }
}
@media (max-width: 991px) {
  h1.hero-two__title,
  .hero-two__title {
    font-size: 32px;
    letter-spacing: -0.9px;
  }
}
@media (max-width: 767px) {
  h1.hero-two__title,
  .hero-two__title {
    font-size: 30px;
    letter-spacing: -0.5px;
    gap: 4px;
  }
  .hero-two__title-line--muted {
    font-size: 0.74em;
  }
}
@media (max-width: 430px) {
  h1.hero-two__title,
  .hero-two__title {
    font-size: 27px;
    letter-spacing: -0.4px;
  }
}
@media (max-width: 360px) {
  h1.hero-two__title,
  .hero-two__title {
    font-size: 24px;
  }
}
.hero-two__title-2 {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 auto 28px !important;
  padding: 0 !important;
  min-height: 1.5em;
  font-size: 16px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.5 !important;
  white-space: nowrap !important;
  color: rgba(255, 255, 255, 0.85) !important;
  border: none !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.hero-two__title-2__cursor {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: -0.12em;
  background: var(--aigence-base, #D032AF);
  animation: sb-cursor-blink 0.9s step-end infinite;
}
.hero-two__title-2.is-done .hero-two__title-2__cursor {
  animation: none;
  opacity: 0;
}
@keyframes sb-cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@media (max-width: 991px) {
  .hero-two__title-2 {
    font-size: 14px !important;
  }
}
@media (max-width: 575px) {
  .hero-two__title-2 {
    font-size: 13px !important;
    letter-spacing: -0.01em !important;
  }
}
@media (max-width: 380px) {
  .hero-two__title-2 {
    font-size: 11px !important;
  }
}
.hero-two__tagline {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 10px;
}
.hero-two {
  padding-bottom: 48px;
}
@media (max-width: 991px) {
  .hero-two {
    padding-bottom: 40px;
  }
}
@media (max-width: 767px) {
  .hero-two {
    padding-top: 156px !important;
    padding-bottom: 36px;
  }
  .hero-two__content {
    margin-bottom: 12px;
  }
  .hero-two__title {
    margin: 0 auto 16px;
  }
  .hero-two__title-2 {
    margin: 0 auto 22px !important;
  }
  .hero-two__button {
    margin-bottom: 8px;
  }
  .hero-two__container {
    overflow: visible;
  }
  .hero-two__carousel {
    padding: 20px 0 52px;
    overflow: visible;
  }
  .hero-two__carousel .swiper-wrapper {
    align-items: center;
  }
  .hero-two__carousel__card {
    aspect-ratio: 9 / 14;
    max-height: none;
    border-radius: 28px;
    box-shadow:
      0 20px 48px rgba(0, 0, 0, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.5),
      inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  }
  .hero-two__carousel__screen {
    border-radius: 24px;
  }
}
@media (max-width: 430px) {
  .hero-two {
    padding-top: 148px !important;
  }
}
.hero-two__description {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 22px;
}
.hero-two__button {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.hero-two__button .aigence-btn {
  padding-left: 22px;
  padding-right: 22px;
}
.hero-two__button .aigence-btn__text {
  font-size: 14px;
}

/* ── Hero carousel + glass cards ── */
.hero-two__carousel {
  /* нижний padding — чтобы тень карточек не резалась overflow:hidden */
  padding: 28px 0 64px;
}

.hero-two__carousel .swiper-slide {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.hero-two__carousel__card {
  position: relative;
  padding: 3px;
  border-radius: 32px;
  aspect-ratio: 9 / 14;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.34) 0%,
    rgba(255, 255, 255, 0.1) 45%,
    rgba(255, 255, 255, 0.2) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}
.hero-two__carousel__screen {
  position: absolute;
  inset: 3px;
  overflow: hidden;
  border-radius: 26px;
  background: #0a0a0a;
  /* pan-y — страница скроллится под курсором/пальцем; скрин сам не скроллится */
  touch-action: pan-y;
  cursor: default;
}
.hero-two__carousel__screen img {
  position: relative;
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
  pointer-events: none;
  user-select: none;
  top: auto !important;
  animation: none !important;
}
/* Автопрокрутка только у центра; ручной скролл отключён */
.hero-two__carousel .swiper-slide-active .hero-two__carousel__screen {
  overflow: hidden;
  cursor: default;
}
.hero-two__carousel .swiper-slide-active .hero-two__carousel__screen img {
  will-change: transform;
}
.hero-two__carousel .swiper-slide:not(.swiper-slide-active) {
  cursor: pointer;
}
.hero-two__carousel .swiper-slide:not(.swiper-slide-active) .hero-two__carousel__screen {
  overflow: hidden;
  cursor: pointer;
}
.hero-two__carousel .swiper-slide:not(.swiper-slide-active) .hero-two__carousel__screen img {
  /* боковые превью всегда с шапки */
  transform: none !important;
  transition: transform 0.8s ease;
}
@media (max-width: 991px) {
  .hero-two__carousel .swiper-slide {
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }
  .hero-two__carousel .swiper-slide:not(.swiper-slide-active) .hero-two__carousel__screen img {
    transition: none;
  }
  /* Наклон боковых карточек как coverflow на десктопе, но без 3D-эффекта Swiper (он мигал на телефонах) */
  .hero-two__carousel .hero-two__carousel__card {
    transform: translateX(10%) perspective(900px) rotateY(34deg) scale(0.88);
    transition: transform 0.8s ease;
    will-change: transform;
  }
  .hero-two__carousel .swiper-slide-active ~ .swiper-slide .hero-two__carousel__card {
    transform: translateX(-10%) perspective(900px) rotateY(-34deg) scale(0.88);
  }
  .hero-two__carousel .swiper-slide-active .hero-two__carousel__card {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-two__carousel__screen {
    overflow: hidden !important;
  }
  .hero-two__carousel__screen img {
    transform: none !important;
    will-change: auto;
  }
}

/* Статистика под каруселью */
.client-carousel--two .client-carousel__content {
  display: flex;
  justify-content: center;
  width: 100%;
}
.client-carousel--two .client-carousel__title--stats {
  width: 100%;
  max-width: none;
  margin: 0 auto 53px;
  padding: 0 16px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: none;
  text-align: center;
}
.client-carousel--two .client-carousel__title--stats .sb-stats-line__part {
  display: inline;
  width: auto;
  text-align: center;
}
.client-carousel--two .client-carousel__title--stats .sb-stats-line__sep {
  display: inline;
  opacity: 0.45;
  padding: 0 6px;
}
.client-carousel--two .client-carousel__title--stats .sb-count-up {
  display: inline-block;
  font-weight: 800;
  font-size: 1.35em;
  line-height: 1;
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-variant-numeric: tabular-nums;
  vertical-align: baseline;
}
@media (max-width: 767px) {
  .client-carousel--two .client-carousel__title--stats {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    line-height: 1.45;
  }
  .client-carousel--two .client-carousel__title--stats .sb-stats-line__part {
    display: block;
    width: 100%;
  }
  .client-carousel--two .client-carousel__title--stats .sb-stats-line__sep {
    display: none;
  }
}
.client-carousel--two .client-carousel__carousel--tech {
  max-width: 920px;
  margin: 0 auto;
}
.client-carousel--two .client-carousel__item--tech {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}
.client-carousel--two .sb-tech-name {
  display: inline-block;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.05em;
  white-space: nowrap;
  opacity: 0.55;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.client-carousel--two .client-carousel__item--tech:hover .sb-tech-name {
  opacity: 1;
  transform: translateY(-2px);
}
@media (max-width: 575px) {
  .client-carousel--two .sb-tech-name {
    font-size: 13px;
    letter-spacing: 0.03em;
  }
}
.client-carousel--two .client-carousel__title {
  font-size: 13px !important;
  font-weight: 600;
  line-height: 1.5;
  max-width: 720px;
  text-align: center;
}
.client-carousel--two .client-carousel__title::before,
.client-carousel--two .client-carousel__title::after {
  display: none;
}

/* ── Заголовки секций — как на главном hero ── */
.sec-title,
.about-two .sec-title,
.funfact-two .sec-title,
.why-choose-two .sec-title,
.projects-one .sec-title,
.services-two .sec-title,
.ai-power__title,
.cta-one__title {
  font-size: 46px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -1.6px !important;
}
.sec-title--center {
  margin-bottom: 28px;
}
@media (max-width: 1199px) {
  .sec-title,
  .about-two .sec-title,
  .funfact-two .sec-title,
  .why-choose-two .sec-title,
  .projects-one .sec-title,
  .services-two .sec-title,
  .ai-power__title,
  .cta-one__title {
    font-size: 38px !important;
    letter-spacing: -1.2px !important;
  }
}
@media (max-width: 767px) {
  .sec-title,
  .about-two .sec-title,
  .funfact-two .sec-title,
  .why-choose-two .sec-title,
  .projects-one .sec-title,
  .services-two .sec-title,
  .ai-power__title,
  .cta-one__title {
    font-size: 26px !important;
    letter-spacing: -0.6px !important;
  }
  .sec-title--center {
    margin-bottom: 22px;
  }
}
.sb-subtitle {
  display: block;
  margin: -20px auto 28px;
  max-width: 640px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--aigence-text, #959cb2);
}
@media (max-width: 767px) {
  .sb-subtitle {
    margin-top: -12px;
    margin-bottom: 20px;
    font-size: 14px;
  }
}

/* ── Процесс ── */
.about-two .sec-title span {
  font-style: normal;
}
.about-two__item-grid {
  align-items: stretch;
}
@media (max-width: 767px) {
  /* Убираем разделитель между «Прототип под заявку» и следующим этапом */
  .about-two__item-grid + .about-two__item-grid {
    border-top: none;
    padding-top: 0;
    margin-top: 40px;
  }
}
.about-two__item {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.about-two__item__top {
  min-height: 60px;
  align-items: center !important;
  margin-bottom: 18px;
}
.about-two__item__icon {
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
}
.about-two__item__icon--svg {
  font-size: 0;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  color: unset !important;
}
.about-two__item__icon--svg .sb-step-icon {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}
.about-two__item:hover .about-two__item__icon--svg {
  animation: none !important;
  -webkit-animation: none !important;
}
/* transform на родителе/иконке стопорит GIF в Chrome — только opacity */
@keyframes sbAboutFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.about-two__item.animated.fadeInUp {
  animation-name: sbAboutFadeIn !important;
  transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .about-two__item.animated.fadeInUp {
    animation: none !important;
    opacity: 1 !important;
  }
}
.about-two__item__title {
  font-size: 17px !important;
  line-height: 1.3 !important;
  min-height: 2.6em;
  display: flex;
  align-items: center;
}
.about-two__item__text {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1 1 auto;
}
.about-two__item .aigence-btn {
  margin-top: auto;
  align-self: center;
  justify-content: center;
  transform: none;
  white-space: nowrap;
}
@media (max-width: 575px) {
  .about-two__item .aigence-btn {
    white-space: normal;
  }
}

/* block2.jpg едет вместе со скроллом и закрывает пустое место справа.
   Только горизонтальный clip — вертикальный overflow:clip/hidden ломает fixed у sticky-шапки. */
.page-wrapper {
  overflow-x: clip;
  overflow-y: visible;
}

@media (min-width: 1200px) {
  .about-two > .container > .row {
    align-items: stretch;
  }
  .about-two > .container > .row > [class*="col-xl-5"],
  .about-two > .container > .row > [class*="col-xxl-4"] {
    align-self: stretch;
  }
  /* Фото + фигура едут вместе */
  .about-two__image {
    position: sticky;
    top: 110px;
    width: 100%;
    z-index: 2;
  }
  .about-two__image .about-two__image__one {
    display: block;
    width: 100%;
    position: relative;
    z-index: 2;
  }
  .about-two__image .about-two__image__one img {
    width: 100%;
    height: auto;
    aspect-ratio: 900 / 1119;
    object-fit: cover;
    object-position: top center;
    display: block;
  }
  .about-two__image__shape {
    z-index: 3;
  }
}

/* ── Услуги ── */
.services-two .item {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card-two__title {
  font-size: 20px;
}
.service-card-two__image {
  --sb-orb-angle: 135deg;
}
.service-card-two__image::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 198px;
  height: 198px;
  border-radius: 50%;
  background: linear-gradient(
    var(--sb-orb-angle),
    #d930aa 0%,
    #3e5dff 100%
  );
  z-index: 0;
  pointer-events: none;
  box-shadow: 0 10px 28px rgba(62, 93, 255, 0.28);
  transition: background 0.08s linear;
}
.service-card-two__image .sb-service-icon,
.service-card-two__image img {
  position: relative;
  z-index: 1;
  object-fit: contain;
  object-position: center;
  background: transparent !important;
  filter: drop-shadow(0 6px 14px rgba(13, 26, 66, 0.18));
}
.service-card-two__btn {
  z-index: 2;
}
.service-card-two:hover .sb-service-icon {
  filter: drop-shadow(0 8px 18px rgba(13, 26, 66, 0.22));
}
.services-two .service-card-two__btn:hover .service-card-two__btn__icon {
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .service-card-two__image::before {
    background: linear-gradient(135deg, #d930aa 0%, #3e5dff 100%);
    transition: none;
  }
}
.service-card-two__text {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px !important;
}
.service-card-two__meta {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 0 2px;
}
.service-card-two__meta-item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(208, 50, 175, 0.07) 0%, rgba(62, 93, 255, 0.07) 100%);
  border: 1px solid rgba(208, 50, 175, 0.14);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.services-two .item:hover .service-card-two__meta-item {
  border-color: rgba(208, 50, 175, 0.28);
  box-shadow: 0 8px 24px rgba(208, 50, 175, 0.08);
}
.service-card-two__meta-item--promo {
  border-color: rgba(208, 50, 175, 0.22);
  background: linear-gradient(135deg, rgba(208, 50, 175, 0.1) 0%, rgba(62, 93, 255, 0.12) 100%);
}
.service-card-two__meta-label {
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aigence-gray2, #A1AAC7);
}
.service-card-two__meta-value {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(90deg, #D930AA 0%, #3E5DFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.service-card-two__meta-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, #D930AA 0%, #3E5DFF 100%);
}
@media (max-width: 575px) {
  .service-card-two__meta-value {
    font-size: 14px;
  }
}
.services-two.section-space-2 {
  padding-bottom: 56px;
}
.services-two__carousel {
  margin-bottom: 0;
}
.services-two__carousel.owl-carousel .owl-dots {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.services-two__carousel.aigence-owl__carousel--basic-nav.owl-carousel .owl-dots {
  gap: 12px;
}
.services-two__carousel.aigence-owl__carousel--basic-nav.owl-carousel .owl-dots .owl-dot {
  width: 28px;
}
@media (max-width: 767px) {
  .services-two__carousel.aigence-owl__carousel--basic-nav.owl-carousel .owl-dots .owl-dot {
    width: 24px;
  }
}
.services-two__controls {
  margin-top: 14px;
}
.services-two__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.services-two__arrow {
  flex-shrink: 0;
}
.services-two .service-card-two__btn {
  top: -12px;
  right: -22px;
}
@media (max-width: 767px) {
  .services-two .service-card-two__btn {
    top: -8px;
    right: -16px;
  }
  .about-two .sec-title {
    text-align: center !important;
  }
  .services-two .service-card-two__image {
    margin-left: auto;
    margin-right: auto;
  }
}
.service-card-two__btn[href="#contact"] {
  cursor: pointer;
}
.quote-one {
  margin-top: 52px;
}
@media (max-width: 991px) {
  .services-two.section-space-2 {
    padding-bottom: 40px;
  }
  .quote-one {
    margin-top: 36px;
  }
}

/* Плотнее секции — перекрываем базовые стили */
@media (max-width: 767px) {
  .section-space {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .section-space-2 {
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .section-space-top,
  .section-space-top-2 {
    padding-top: 48px;
  }
  .section-space-bottom {
    padding-bottom: 56px;
  }
}
@media (max-width: 575px) {
  .section-space {
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .section-space-2 {
    padding-top: 40px;
    padding-bottom: 44px;
  }
  .section-space-top,
  .section-space-top-2 {
    padding-top: 40px;
  }
  .section-space-bottom {
    padding-bottom: 44px;
  }
}

/* ── Баннер ── */
.quote-one__wrapper {
  padding-left: 72px;
}
.quote-one__wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(270deg, #d033ae 0%, #425cfe 100%);
  z-index: 0;
}
.quote-one__wrapper::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72%;
  border-radius: inherit;
  background: linear-gradient(
    to top,
    rgba(8, 12, 38, 0.78) 0%,
    rgba(8, 12, 38, 0.48) 38%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}
.quote-one__bg {
  z-index: 0;
}
.quote-one__content {
  margin-left: -18px;
  max-width: 500px;
  padding-right: 24px;
  position: relative;
  z-index: 3;
}
.sb-quote-device-clip {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.quote-one__device-slot.about-two__image__one,
.quote-one__device-slot {
  position: absolute;
  right: 56px;
  bottom: 0;
  width: min(38%, 430px);
  aspect-ratio: 900 / 1119;
  animation: moveX 2.5s linear infinite;
  border-radius: 0;
  /* Гладкая форма вместо рваной маски темы */
  -webkit-mask: none !important;
  mask: none !important;
  -webkit-clip-path: url(#sbQuoteDeviceClip);
  clip-path: url(#sbQuoteDeviceClip);
}

.quote-one__bg-device {
  z-index: 2;
  background: linear-gradient(270deg, #d033ae 0%, #425cfe 100%);
  pointer-events: none;
}

.quote-one__image-box {
  z-index: 3;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .quote-one__device-slot {
    animation: none;
  }
}

.quote-one__image-box.about-two__image__one {
  display: block;
}

.quote-one__image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
  display: block;
}
.quote-one__image-box picture {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 1199px) {
  .quote-one__device-slot {
    right: 36px;
    width: min(40%, 380px);
  }
}

@media (max-width: 1199px) {
  .quote-one__wrapper {
    padding-left: 50px;
  }
  .quote-one__content {
    margin-left: -10px;
    max-width: 420px;
  }
  .quote-one__text {
    max-width: 400px;
  }
  .quote-one__identity {
    max-width: 320px;
  }
}
.quote-one__text {
  font-size: 22px !important;
  line-height: 1.4 !important;
  max-width: 480px;
  text-shadow: 0 1px 18px rgba(8, 12, 38, 0.28);
}
.quote-one__identity {
  font-size: 13px !important;
  line-height: 1.45 !important;
  opacity: 0.92;
  max-width: 360px;
  text-shadow: 0 1px 14px rgba(8, 12, 38, 0.32);
}
@media (max-width: 991px) {
  .quote-one {
    margin-top: 24px;
  }
  .quote-one .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .quote-one__wrapper {
    padding: 0 !important;
    min-height: 420px;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .quote-one__wrapper::before {
    border-radius: inherit;
    background: linear-gradient(180deg, #425cfe 0%, #d033ae 55%, #0d1a42 100%);
    z-index: 0;
  }
  .quote-one__wrapper::after {
    height: 68%;
    background: linear-gradient(
      to top,
      rgba(8, 12, 38, 0.88) 0%,
      rgba(8, 12, 38, 0.55) 42%,
      rgba(66, 92, 254, 0.18) 72%,
      transparent 100%
    );
    z-index: 2;
  }
  .quote-one__bg {
    display: none;
  }
  .quote-one__bg-device {
    display: none !important;
  }
  .quote-one__device-slot,
  .quote-one__image-box.quote-one__device-slot {
    position: absolute !important;
    inset: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    aspect-ratio: auto;
    margin: 0;
    animation: none !important;
    border-radius: 0;
    overflow: hidden;
    -webkit-mask: none !important;
    mask: none !important;
    -webkit-clip-path: none !important;
    clip-path: none !important;
  }
  .quote-one__image-box {
    z-index: 1;
  }
  .quote-one__image-box::after {
    display: none;
  }
  .quote-one__image-box picture,
  .quote-one__image-box img {
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 0;
    object-fit: cover;
    object-position: 62% 18%;
  }
  .quote-one__content {
    position: relative;
    z-index: 3;
    margin: 0;
    max-width: none;
    padding: 28px 22px 26px;
    text-align: left;
  }
  .quote-one__text {
    max-width: 18em;
    margin: 0 0 10px;
    font-size: 21px !important;
    line-height: 1.28 !important;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 18px rgba(8, 12, 38, 0.45);
  }
  .quote-one__identity {
    max-width: 28em;
    margin: 0;
    font-size: 12px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em;
    text-transform: none;
    opacity: 0.9;
    text-shadow: 0 1px 12px rgba(8, 12, 38, 0.4);
  }
}
@media (max-width: 575px) {
  .quote-one__wrapper {
    min-height: 390px;
    border-radius: 20px;
  }
  .quote-one__content {
    padding: 24px 18px 22px;
  }
  .quote-one__text {
    font-size: 18px !important;
    max-width: none;
  }
  .quote-one__identity {
    font-size: 11.5px !important;
  }
  .quote-one__image-box picture,
  .quote-one__image-box img {
    object-position: 68% 16%;
  }
}

/* ── Тарифы ── */
.funfact-two .sec-title {
  margin-bottom: 32px;
}
.sb-pricing-grid {
  align-items: stretch;
}
.sb-pricing-grid > [class*="col-"] {
  display: flex;
}
.sb-pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  padding: 28px 24px 26px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(208, 50, 175, 0.12);
  box-shadow: 0 12px 40px rgba(13, 26, 66, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.sb-pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(208, 50, 175, 0.28);
  box-shadow: 0 18px 48px rgba(208, 50, 175, 0.12);
}
.sb-pricing-card--featured {
  border-color: rgba(208, 50, 175, 0.28);
  background: linear-gradient(180deg, rgba(208, 50, 175, 0.06) 0%, #fff 42%);
}
.sb-pricing-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, #D930AA 0%, #3E5DFF 100%);
}
.sb-pricing-card__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--aigence-black, #0D1A42);
}
.sb-pricing-card__price {
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(230, 234, 255, 0.9);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(90deg, #D930AA 0%, #3E5DFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.sb-pricing-card__text {
  margin: 0;
  flex: 1 1 auto;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--aigence-gray2, #A1AAC7);
}
@media (max-width: 991px) {
  .sb-pricing-card__price {
    font-size: 24px;
  }
}
.sb-pricing-note {
  margin: 28px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--aigence-gray2, #A1AAC7);
}

/* Гладкая форма вместо рваной bitmap-маски темы (stop.jpg, block2 и т.п.) */
.about-two__image__one {
  -webkit-mask: none !important;
  mask: none !important;
  -webkit-clip-path: url(#sbQuoteDeviceClip);
  clip-path: url(#sbQuoteDeviceClip);
}

.about-two__image__one img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.project-card__title {
  font-size: 16px !important;
  line-height: 1.35 !important;
}
.project-card__title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-card__tagline {
  font-size: 13px;
}

/* ── Кейсы ── */
.projects-one {
  margin-bottom: 40px;
  isolation: isolate;
  border-radius: 60px !important;
  overflow: hidden;
}
.projects-one__bg {
  border-radius: 60px !important;
}
@media (max-width: 575px) {
  .projects-one,
  .projects-one__bg {
    border-radius: 30px !important;
  }
}

/* Розовое пятно как на прелоадере — правый верхний угол */
.sb-cases__aurora {
  position: absolute;
  inset: -15% -10% -10% -10%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 46% 42% at 88% 14%,
      rgba(217, 48, 170, 0.4) 0%,
      transparent 65%
    );
  animation: sbCasesAurora 14s ease-in-out infinite alternate;
}
@keyframes sbCasesAurora {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2.5%, 2%, 0) scale(1.08); }
}
#projects > .container {
  position: relative;
  z-index: 2;
}

/* Ромбовидная сетка как в прелоадере */
.projects-one::before {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 27px,
      rgba(255, 255, 255, 0.055) 27px,
      rgba(255, 255, 255, 0.055) 28px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0,
      transparent 27px,
      rgba(62, 93, 255, 0.09) 27px,
      rgba(62, 93, 255, 0.09) 28px
    );
  -webkit-mask-image: radial-gradient(
    ellipse 72% 62% at 50% 48%,
    transparent 8%,
    rgba(0, 0, 0, 0.55) 42%,
    #000 78%
  );
  mask-image: radial-gradient(
    ellipse 72% 62% at 50% 48%,
    transparent 8%,
    rgba(0, 0, 0, 0.55) 42%,
    #000 78%
  );
  animation: sbPreGridDrift 22s linear infinite;
}

.projects-one::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(
      ellipse 48% 38% at 50% 42%,
      rgba(208, 50, 175, 0.14) 0%,
      rgba(62, 93, 255, 0.05) 42%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 90% 80% at 50% 50%,
      transparent 35%,
      rgba(8, 14, 36, 0.55) 100%
    );
}

@media (prefers-reduced-motion: reduce) {
  .projects-one::before {
    animation: none;
  }
  .sb-cases__aurora {
    animation: none;
  }
}

#projects .slide-info--text[data-subtitle] span {
  margin-top: 0;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--aigence-black, #0d1a42);
}
#projects .slide-info--text[data-description] span {
  margin-top: 8px;
  padding-top: 0;
  border-top: none;
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--aigence-base, #d032af);
}
@media (max-width: 767px) {
  .projects-one {
    margin-bottom: 28px;
  }
}
.why-choose-two {
  margin-bottom: 40px;
}
.why-choose-two__image {
  position: relative;
  width: 100%;
  max-width: min(100%, 560px);
  margin: 0 auto;
  -webkit-mask: none;
  mask: none;
  height: auto;
  display: block;
  perspective: 900px;
}
.why-choose-two__image .about-two__image__one {
  display: block;
  width: 100%;
}
.why-choose-two__image .about-two__image__one img {
  width: 100%;
  aspect-ratio: 900 / 1119;
  object-fit: cover;
  object-position: top center;
}
.sb-tilt {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  box-shadow: 0 18px 48px rgba(13, 26, 66, 0.14);
}
.sb-tilt.is-tilting {
  transition: transform 0.08s ease-out, box-shadow 0.2s ease;
}
.sb-tilt__glare {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(
    circle 55% at var(--sb-tilt-x, 50%) var(--sb-tilt-y, 50%),
    rgba(255, 255, 255, 0.38) 0%,
    rgba(255, 255, 255, 0.08) 28%,
    transparent 62%
  );
  mix-blend-mode: soft-light;
  transition: opacity 0.35s ease;
}
.sb-tilt.is-tilting .sb-tilt__glare {
  opacity: 1;
}
@media (max-width: 991px), (hover: none) {
  .sb-tilt,
  .sb-tilt.is-tilting {
    transform: none !important;
    transition: none;
  }
  .sb-tilt__glare {
    display: none;
  }
}
@media (min-width: 1200px) {
  .why-choose-two__image {
    max-width: 100%;
    margin: 0;
  }
}
@media (max-width: 767px) {
  .why-choose-two {
    margin-bottom: 28px;
  }
}
.why-choose-two .sec-title {
  margin-bottom: 14px;
}
.sb-pain-block__headline {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #D930AA 0%, #3E5DFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.sb-pain-block__lead {
  margin: 0 0 28px !important;
  max-width: 36ch;
}
.sb-pain-cards {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 30px;
  overflow: visible;
}
.sb-pain-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 8px 18px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid rgba(13, 26, 66, 0.08);
  box-shadow: none;
  overflow: visible;
  transition: transform 0.35s ease;
}
.sb-pain-card:last-child {
  border-bottom: 0;
}
.sb-pain-card:hover {
  transform: translateX(4px);
  border-color: rgba(208, 50, 175, 0.18);
  box-shadow: none;
}
.sb-pain-card__num {
  flex: 0 0 auto;
  box-sizing: content-box;
  width: auto;
  min-width: 1.15em;
  height: auto;
  display: block;
  margin: 0;
  padding: 0.08em 0.02em 0.12em 0;
  overflow: visible;
  border-radius: 0;
  font-family: var(--aigence-font), "Unbounded", sans-serif;
  font-size: clamp(58px, 8.2vw, 86px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #D930AA 0%, #3E5DFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transform: translate3d(0, 0, 0);
  animation: sb-title-pulse 3s ease-in-out infinite;
  user-select: none;
  pointer-events: none;
}
.sb-pain-card__num.sb-glitch-active {
  animation: sb-glitch 0.35s steps(2) 2, sb-title-pulse 3s ease-in-out infinite;
}
.sb-pain-card__body {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 4px;
}
.sb-pain-card__question {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--aigence-black, #0D1A42);
}
.sb-pain-card__reaction {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--aigence-base, #D032AF);
  background: rgba(208, 50, 175, 0.08);
}
.sb-pain-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 12px;
}
.sb-pain-actions .aigence-btn {
  justify-content: center;
}
.sb-pain-actions .aigence-btn__text {
  font-size: 14px;
}
@media (max-width: 575px) {
  .sb-pain-card {
    align-items: flex-start;
    gap: 4px;
    padding: 12px 6px 16px 2px;
  }
  .sb-pain-card__num {
    width: auto;
    min-width: 1.15em;
    font-size: 44px;
    font-weight: 800;
    transform: none;
  }
  .sb-pain-actions {
    flex-direction: column;
    align-items: center;
  }
  .sb-pain-actions .aigence-btn {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sb-pain-card {
    transition: none;
  }
  .sb-pain-card:hover {
    transform: none;
  }
  .sb-pain-card__num {
    animation: none !important;
    transform: none !important;
  }
}

/* ── Отзывы: кинетическая лента ── */
.sb-buzz {
  position: relative;
  z-index: 3;
  isolation: isolate;
  overflow: hidden;
  margin: 16px 0 72px;
  padding: clamp(52px, 7vw, 88px) 0 clamp(48px, 6vw, 72px);
  border-radius: 48px;
  background: #0b1436;
  color: #fff;
}
.sb-buzz__aurora {
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 45% 40% at 20% 30%, rgba(217, 48, 170, 0.38) 0%, transparent 65%),
    radial-gradient(ellipse 45% 40% at 82% 78%, rgba(217, 48, 170, 0.38) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 85% 20%, rgba(62, 93, 255, 0.34) 0%, transparent 68%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(62, 93, 255, 0.18) 0%, transparent 70%);
  animation: sbBuzzAurora 14s ease-in-out infinite alternate;
}
@keyframes sbBuzzAurora {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3%, 2%, 0) scale(1.08); }
}
.sb-buzz__top,
.sb-buzz__spot-wrap {
  position: relative;
  z-index: 2;
}
.sb-buzz__top {
  margin-bottom: clamp(24px, 3.5vw, 36px);
  text-align: center;
}
.sb-buzz__eyebrow {
  margin: 0 0 10px;
  font-family: var(--aigence-font), "Unbounded", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ff7ad9 0%, #8ea2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sb-buzz__title {
  margin: 0 !important;
  color: #fff !important;
}

.sb-buzz__tapes {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin-bottom: clamp(28px, 4vw, 44px);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.sb-buzz__tape {
  overflow: hidden;
  width: 100%;
}
.sb-buzz__track {
  display: flex;
  width: max-content;
  gap: 12px;
  will-change: transform;
}
.sb-buzz__tape--left .sb-buzz__track {
  animation: sbBuzzScrollLeft 70s linear infinite;
}
.sb-buzz__tape--right .sb-buzz__track {
  animation: sbBuzzScrollRight 82s linear infinite;
}
@keyframes sbBuzzScrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes sbBuzzScrollRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.sb-buzz__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--aigence-font), "Unbounded", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.sb-buzz__chip img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}
.sb-buzz__chip em {
  font-family: "Caveat", cursive;
  font-style: normal;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
}

.sb-buzz__spot {
  position: relative;
  margin: 0 auto 28px;
  max-width: 720px;
  text-align: center;
}
.sb-buzz__quote-shell {
  position: relative;
  margin: 0 auto 22px;
  max-width: 560px;
}
.sb-buzz__quote-measure,
.sb-buzz__quote {
  margin: 0;
  font-family: "Caveat", cursive;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
}
.sb-buzz__quote-measure {
  visibility: hidden;
  pointer-events: none;
}
.sb-buzz__quote {
  position: absolute;
  inset: 0;
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}
.sb-buzz__quote.is-leaving {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(3px);
}
.sb-buzz__quote::before,
.sb-buzz__quote-measure::before {
  content: "«";
  display: inline;
  margin-right: 0.05em;
  background: linear-gradient(135deg, #d930aa 0%, #3e5dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sb-buzz__quote::after,
.sb-buzz__quote-measure::after {
  content: "»";
  display: inline;
  margin-left: 0.05em;
  background: linear-gradient(135deg, #d930aa 0%, #3e5dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sb-buzz__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.sb-buzz__avatar-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.sb-buzz__person {
  margin: 0;
  text-align: center;
}
.sb-buzz__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 4px rgba(217, 48, 170, 0.2);
}
.sb-buzz__name {
  margin: 0;
  font-family: var(--aigence-font), "Unbounded", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.sb-buzz__nav {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.sb-buzz__nav:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #d930aa 0%, #3e5dff 100%);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(62, 93, 255, 0.28);
}

.sb-buzz__footer {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.sb-buzz__cta.aigence-btn {
  color: #fff;
  justify-content: center;
  padding-left: 28px;
  padding-right: 28px;
}
.sb-buzz__cta .aigence-btn__text {
  margin: 0;
  text-align: center;
}
.sb-buzz__cta .aigence-btn__icon,
.sb-buzz__cta::after {
  display: none !important;
}

.sb-buzz + .ai-power,
.sb-faq + .ai-power {
  margin-top: 72px !important;
}

@media (max-width: 767px) {
  .sb-buzz {
    border-radius: 28px;
    margin-bottom: 48px;
  }
  .sb-buzz__chip {
    padding: 8px 14px 8px 8px;
  }
  .sb-buzz__chip em {
    font-size: 17px;
  }
  .sb-buzz__chip img {
    width: 28px;
    height: 28px;
  }
  .sb-buzz__meta {
    gap: 10px;
  }
  .sb-buzz__avatar-row {
    gap: 14px;
  }
  .sb-buzz__avatar {
    width: 72px;
    height: 72px;
  }
  .sb-buzz__nav {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sb-buzz__aurora,
  .sb-buzz__tape--left .sb-buzz__track,
  .sb-buzz__tape--right .sb-buzz__track {
    animation: none;
  }
  .sb-buzz__quote {
    transition: none;
  }
}

/* ── Гарантии ── */
.ai-power {
  margin-top: 72px !important;
  margin-bottom: 72px !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  border-radius: 48px !important;
}
.ai-power__bg-1 {
  background-position: center center !important;
  background-size: cover !important;
}
.ai-power__bg-2,
.ai-power__shape-1,
.ai-power__shape-2 {
  display: none !important;
}
.ai-power::after {
  background: linear-gradient(135deg, rgba(13, 26, 66, 0.72) 0%, rgba(13, 26, 66, 0.45) 55%, rgba(13, 26, 66, 0.62) 100%) !important;
}
@media (max-width: 1199px) {
  .ai-power::after {
    background: linear-gradient(135deg, rgba(13, 26, 66, 0.82) 0%, rgba(13, 26, 66, 0.68) 100%) !important;
  }
}
.ai-power__title {
  line-height: 1.15 !important;
}
.ai-power__content > .row {
  align-items: stretch;
}
.ai-power__content > .row > [class*="col-"] {
  display: flex;
}
.ai-power__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.ai-power__card__title {
  font-size: 17px !important;
  margin-bottom: 28px !important;
  min-height: calc(2 * 1.5em + 12px);
}
.ai-power__card__text {
  font-size: 14px;
  line-height: 1.45;
  margin-top: 0;
}
.sb-support-perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 36px 0 0;
}
.sb-support-perk {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 118px;
  height: 100%;
  padding: 24px 24px 24px 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.sb-support-perk::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #D033AE 0%, #425CFE 100%);
}
.sb-support-perk:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.24);
}
.sb-support-perk__icon {
  position: absolute;
  right: 14px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  font-size: 64px;
  line-height: 1;
  color: #425CFE;
  opacity: 0.08;
  pointer-events: none;
}
.sb-support-perk__text {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: calc(100% - 52px);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--aigence-black, #0D1A42);
  letter-spacing: -0.02em;
}
@media (max-width: 767px) {
  .sb-support-perks {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }
  .sb-support-perk {
    min-height: 0;
    padding: 20px 20px 20px 24px;
  }
  .sb-support-perk__icon {
    font-size: 52px;
    right: 10px;
    bottom: 8px;
  }
  .sb-support-perk__text {
    font-size: 15px;
    max-width: calc(100% - 44px);
  }
}
.ai-power__button {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  width: 100%;
}
.ai-power__button .aigence-btn {
  justify-content: center;
}

/* ── Команда ── */
.sb-team-section {
  display: none !important;
}
.sb-team-lead {
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  color: var(--aigence-text, #959cb2);
  margin: -20px 0 28px;
}
.blog-card-two__title {
  font-size: 18px;
  line-height: 1.35;
}
.blog-card-two__title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-two__text {
  font-size: 14px;
  line-height: 1.5;
}
.blog-card-two__admin__name {
  font-size: 13px;
  line-height: 1.35;
}

.sb-team-grid .blog-card-two__admin__name {
  display: none;
}
.sb-team-grid .blog-card-two__title {
  font-size: 17px;
}

/* ── FAQ ── */
.sb-faq {
  --sb-faq-ink: #0d1a42;
  --sb-faq-muted: rgba(13, 26, 66, 0.62);
  --sb-faq-line: rgba(13, 26, 66, 0.1);
  position: relative;
  z-index: 3;
  isolation: isolate;
  overflow: hidden;
  margin: 0 0 72px;
  padding: clamp(72px, 8vw, 110px) 0 clamp(64px, 8vw, 104px);
  border-radius: 48px;
  background:
    radial-gradient(ellipse 55% 45% at 10% 16%, rgba(217, 48, 170, 0.1) 0%, transparent 62%),
    radial-gradient(ellipse 50% 42% at 92% 10%, rgba(62, 93, 255, 0.12) 0%, transparent 64%),
    radial-gradient(ellipse 48% 40% at 84% 94%, rgba(217, 48, 170, 0.08) 0%, transparent 60%),
    #f4f6fc;
  color: var(--sb-faq-ink);
  box-sizing: border-box;
}
.sb-faq.is-measuring,
.sb-faq.is-measuring * {
  transition: none !important;
  animation: none !important;
}
.sb-faq__aurora {
  position: absolute;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 38% at 14% 18%, rgba(217, 48, 170, 0.15) 0%, transparent 65%),
    radial-gradient(ellipse 40% 36% at 90% 14%, rgba(62, 93, 255, 0.13) 0%, transparent 68%),
    radial-gradient(ellipse 44% 40% at 78% 90%, rgba(217, 48, 170, 0.1) 0%, transparent 65%);
  animation: sbFaqAurora 14s ease-in-out infinite alternate;
}
@keyframes sbFaqAurora {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2.5%, 2%, 0) scale(1.06); }
}
.sb-faq__mesh {
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 27px,
      rgba(13, 26, 66, 0.035) 27px,
      rgba(13, 26, 66, 0.035) 28px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0,
      transparent 27px,
      rgba(62, 93, 255, 0.045) 27px,
      rgba(62, 93, 255, 0.045) 28px
    );
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 48%, transparent 8%, rgba(0, 0, 0, 0.5) 42%, #000 78%);
  mask-image: radial-gradient(ellipse 72% 62% at 50% 48%, transparent 8%, rgba(0, 0, 0, 0.5) 42%, #000 78%);
}
.sb-faq__inner {
  position: relative;
  z-index: 1;
}
.sb-faq__head {
  position: relative;
  margin: 0 0 clamp(36px, 5vw, 52px);
  text-align: center;
}
.sb-faq__eyebrow {
  margin: 0 0 10px;
  font-family: var(--aigence-font), "Unbounded", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #d930aa 0%, #3e5dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sb-faq__title {
  margin: 0 0 12px !important;
  color: var(--sb-faq-ink) !important;
}
.sb-faq__lead {
  margin: 0 auto !important;
  color: var(--sb-faq-muted) !important;
}

.sb-faq__floats {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.sb-faq__float {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  max-width: min(280px, 48vw);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-family: "Caveat", cursive;
  font-size: clamp(16px, 1.85vw, 22px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: rgba(13, 26, 66, 0.28);
  white-space: nowrap;
  overflow: visible;
  opacity: 1;
  pointer-events: none;
}
.sb-faq__float-text {
  display: inline;
  white-space: nowrap;
}
.sb-faq__float-caret {
  display: inline-block;
  flex: 0 0 auto;
  width: 0.09em;
  height: 0.9em;
  margin-left: 0.05em;
  background: rgba(13, 26, 66, 0.35);
  border-radius: 1px;
  animation: sb-faq-caret 0.7s steps(1) infinite;
}
@keyframes sb-faq-caret {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.sb-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--sb-faq-line);
}
.sb-faq__actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin: 32px auto 0;
  max-width: 640px;
}
.sb-faq__brief-btn {
  justify-content: center;
}
.sb-faq__item {
  position: relative;
  display: block;
  border: 0;
  border-bottom: 1px solid var(--sb-faq-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  transition: background 0.35s ease;
}
.sb-faq__item.is-open {
  background: transparent;
  box-shadow: none;
  border-color: rgba(13, 26, 66, 0.14);
}
.sb-faq__question {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  align-items: center;
  gap: 8px 16px;
  width: 100%;
  margin: 0;
  padding: 24px 4px 24px 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: var(--aigence-font), "Unbounded", sans-serif;
}
.sb-faq__num {
  display: block;
  width: auto;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-family: var(--aigence-font), "Unbounded", sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: transparent;
  background: linear-gradient(135deg, #d930aa 0%, #3e5dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  box-shadow: none;
  transform: none;
  transition: filter 0.35s ease, opacity 0.35s ease;
  opacity: 0.85;
}
.sb-faq__item.is-open .sb-faq__num {
  opacity: 1;
  filter: drop-shadow(0 6px 16px rgba(217, 48, 170, 0.28));
  transform: none;
  box-shadow: none;
  border: 0;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, #d930aa 0%, #3e5dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.sb-faq__q-text {
  font-size: clamp(15px, 1.7vw, 19px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--sb-faq-ink);
  transition: color 0.3s ease;
}
.sb-faq__item:hover .sb-faq__q-text {
  color: #08122f;
}
.sb-faq__icon {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(13, 26, 66, 0.12);
  background: #fff;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}
.sb-faq__icon::before,
.sb-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--sb-faq-ink);
  border-radius: 1px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, background 0.3s ease;
}
.sb-faq__icon::before {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}
.sb-faq__icon::after {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.sb-faq__item.is-open .sb-faq__icon {
  background: linear-gradient(135deg, #d930aa 0%, #3e5dff 100%);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(62, 93, 255, 0.22);
  transform: rotate(180deg);
}
.sb-faq__item.is-open .sb-faq__icon::before {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}
.sb-faq__item.is-open .sb-faq__icon::after,
.sb-faq__item.is-open .sb-faq__icon::before {
  background: #fff;
}
.sb-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  pointer-events: none;
  transition:
    grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
}
.sb-faq__item.is-open .sb-faq__answer {
  grid-template-rows: 1fr;
  opacity: 1;
  pointer-events: auto;
}
.sb-faq__answer-panel {
  overflow: hidden;
  min-height: 0;
  padding: 0 44px 26px 4rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.sb-faq__answer-panel p {
  position: relative;
  margin: 0;
  padding: 0 0 0 18px;
  max-width: 52ch;
  border: 0;
  border-radius: 0;
  border-left: 2px solid transparent;
  border-image: linear-gradient(180deg, #d930aa 0%, #3e5dff 100%) 1;
  font-size: 15px;
  line-height: 1.65;
  color: var(--sb-faq-muted);
  background: transparent;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.35s ease 0.06s,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.04s;
}
.sb-faq__item.is-open .sb-faq__answer-panel p {
  opacity: 1;
  transform: translateY(0);
  padding-top: 0;
  padding-left: 18px;
}

@media (max-width: 767px) {
  .sb-faq {
    border-radius: 28px;
    margin-bottom: 48px;
    padding: 44px 0 56px;
  }
  .sb-faq__list {
    max-width: none;
  }
  .sb-faq__actions {
    margin-top: 28px;
    max-width: none;
  }
  .sb-faq__question {
    grid-template-columns: 3.2rem 1fr auto;
    gap: 6px 12px;
    padding: 20px 0;
  }
  .sb-faq__num {
    font-size: 20px;
  }
  .sb-faq__q-text {
    font-size: 15px;
  }
  .sb-faq__icon {
    width: 34px;
    height: 34px;
  }
  .sb-faq__answer-panel {
    padding: 0 8px 22px 3.2rem;
  }
  .sb-faq__answer-panel p {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sb-faq__aurora {
    animation: none;
  }
  .sb-faq__floats {
    display: none;
  }
  .sb-faq__answer,
  .sb-faq__answer-panel p,
  .sb-faq__icon,
  .sb-faq__icon::before,
  .sb-faq__icon::after,
  .sb-faq__num,
  .sb-faq__item {
    transition: none;
  }
}

.cta-one#contact {
  margin-top: 24px;
}

@media (max-width: 767px) {
  .ai-power {
    margin-top: 48px !important;
    margin-bottom: 48px !important;
    border-radius: 28px !important;
  }
  .ai-power > .container > .row > [class*="col-"] {
    text-align: center;
  }
  .ai-power__title {
    text-align: center;
    padding-bottom: 20px;
  }
  .ai-power .sb-subtitle--left {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .ai-power__card {
    align-items: center;
    text-align: center;
  }
  .ai-power__card__icon {
    justify-content: center;
  }
  .ai-power__card__title {
    min-height: 0;
  }
  .ai-power__card__text {
    text-align: center;
  }
  .sb-support-perk {
    justify-content: flex-start;
    text-align: left;
  }
  .sb-support-perk__text {
    text-align: left;
  }
  .ai-power__button {
    justify-content: center;
  }
}

.sb-subtitle--left {
  text-align: left;
  margin: 12px 0 0;
  max-width: none;
}
.sb-subtitle--light {
  color: rgba(255, 255, 255, 0.75);
}

/* ── Форма ── */
.cta-one__wrapper {
  padding: 40px 50px;
  overflow: visible;
}
@media (max-width: 991px) {
  .cta-one__wrapper {
    padding-bottom: 40px !important;
  }
}
@media (max-width: 480px) {
  .cta-one__wrapper {
    padding-bottom: 32px !important;
  }
}
.cta-one__content {
  flex-direction: column;
  align-items: flex-start !important;
  max-width: 100% !important;
  gap: 20px !important;
  overflow: visible;
}
.cta-one__title {
  line-height: 1.15 !important;
}
.cta-one__subtitle {
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}
.cta-one__subtitle-logo {
  display: block;
  width: auto;
  height: 24px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
.cta-one__subtitle-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cta-one__subtitle-sep {
  opacity: 0.75;
}
@media (max-width: 767px) {
  .cta-one__subtitle {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
  }
}
.cta-one__form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}
.cta-one__form .sb-form-note {
  text-align: center;
}
.cta-one__form .form-one__group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.cta-one__form .form-one__control--full {
  grid-column: 1 / -1;
}
.cta-one__form input[type="text"],
.cta-one__form input[type="tel"] {
  height: 48px;
  font-size: 14px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.cta-one__form .form-one__control label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.cta-one__submit.aigence-btn {
  align-self: center;
  justify-content: center;
  overflow: visible;
  transition: filter 0.35s ease, box-shadow 0.35s ease;
}
.cta-one__submit.aigence-btn .aigence-btn__text,
.cta-one__submit.aigence-btn .aigence-btn__icon {
  position: relative;
  z-index: 1;
  color: #fff !important;
  background: transparent !important;
  overflow: hidden;
  isolation: isolate;
  transition: filter 0.35s ease, box-shadow 0.35s ease;
}
.cta-one__submit.aigence-btn .aigence-btn__text::before,
.cta-one__submit.aigence-btn .aigence-btn__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image: linear-gradient(90deg, #D930AA 0%, #3E5DFF 25%, #D930AA 50%, #3E5DFF 75%, #D930AA 100%);
  background-size: 300% 100%;
  background-position: 0% 50%;
  animation: sb-btn-gradient-flow 8s ease-in-out infinite;
}
.cta-one__submit.aigence-btn .aigence-btn__text::after,
.cta-one__submit.aigence-btn .aigence-btn__icon::after {
  display: none !important;
}
.cta-one__submit.aigence-btn:hover {
  transform: none;
  filter: brightness(1.08) drop-shadow(0 10px 22px rgba(62, 93, 255, 0.38));
}
.cta-one__submit.aigence-btn:hover .aigence-btn__text,
.cta-one__submit.aigence-btn:hover .aigence-btn__icon {
  color: #fff !important;
  transform: none;
  filter: none;
  box-shadow: none;
}
.cta-one__submit.aigence-btn:hover .aigence-btn__text::before,
.cta-one__submit.aigence-btn:hover .aigence-btn__icon::before {
  animation-duration: 5s;
}
.cta-one__submit.aigence-btn:hover .aigence-btn__icon > * {
  animation: none;
}
.cta-one__submit.aigence-btn:active {
  transform: none;
  filter: brightness(0.98) drop-shadow(0 6px 14px rgba(62, 93, 255, 0.28));
}
@keyframes sb-btn-gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.cta-one__consents {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.sb-req {
  color: #ff7ad9;
  font-weight: 700;
}
.cta-one__form .sb-req {
  color: #ffe0f4;
}
.sb-form-note {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.62);
}
.sb-form-note.is-success {
  color: #3e5dff;
}
.sb-form-note.is-error {
  color: #ff9fda;
}
.cta-one__form .sb-form-note.is-success {
  color: #dce4ff;
}
.cta-one__form .sb-form-note.is-error {
  color: #ffb7d9;
}
.sb-lead-modal__form .sb-form-note {
  color: rgba(255, 255, 255, 0.55);
}
.sb-lead-modal__form .sb-req {
  color: #ff9fda;
}
.cta-one__consents .sb-form-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  cursor: pointer;
  text-align: left;
  position: relative;
}
.cta-one__consents .sb-form-consent__input {
  position: absolute;
  left: 0;
  top: 1px;
  z-index: 2;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
.cta-one__consents .sb-form-consent__box {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.14);
  box-sizing: border-box;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.cta-one__consents .sb-form-consent__box::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 5px;
  width: 6px;
  height: 10px;
  border: solid #d032af;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
}
.cta-one__consents .sb-form-consent__input:checked + .sb-form-consent__box {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 4px 14px rgba(13, 26, 66, 0.18);
}
.cta-one__consents .sb-form-consent__input:checked + .sb-form-consent__box::after {
  transform: rotate(45deg) scale(1);
}
.cta-one__consents .sb-form-consent__input:focus-visible + .sb-form-consent__box {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 2px;
}
.cta-one__consents .sb-form-consent__text {
  flex: 1;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}
.cta-one__consents .sb-form-consent__link {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  transition: text-decoration-color 0.25s ease, opacity 0.25s ease;
}
.cta-one__consents .sb-form-consent__link:hover {
  text-decoration-color: #fff;
  opacity: 0.92;
}
.cta-one__form.is-consent-invalid .sb-form-consent__input:not(:checked) + .sb-form-consent__box {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.95),
    0 0 0 5px rgba(255, 107, 154, 0.55),
    0 0 18px rgba(255, 255, 255, 0.45);
}
.cta-one__form input.is-field-invalid,
.cta-one__form input.error {
  border-color: #fff !important;
  background: rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.95),
    0 0 0 5px rgba(255, 107, 154, 0.55),
    0 0 18px rgba(255, 255, 255, 0.4) !important;
}
.sb-lead-modal__form input.is-field-invalid,
.sb-lead-modal__form input.error {
  border-color: #ff6b9a !important;
  box-shadow: 0 0 0 2px rgba(255, 107, 154, 0.25) !important;
}
.cta-one__form label.error,
.sb-lead-modal__form label.error,
.cta-one__form .sb-form-consent label.error,
.cta-one__form .sb-form-consent + label.error,
.cta-one__consents label.error {
  display: none !important;
}
.cta-one__trust {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}
@media (max-width: 575px) {
  .cta-one__form .form-one__group {
    grid-template-columns: 1fr;
  }
  .cta-one__wrapper {
    padding: 32px 24px;
  }
}

/* ── Кнопки с длинным текстом ── */
.ai-power__button .aigence-btn__text {
  font-size: 14px;
}

/* ── Подвал ── */
@media (max-width: 767px) {
  .main-footer--two {
    display: flex;
    flex-direction: column;
  }
  .main-footer--two > .main-footer__top,
  .main-footer--two > .main-footer__top > .container,
  .main-footer--two > .main-footer__top > .container > .row,
  .main-footer--two > .sb-footer-main,
  .main-footer--two > .sb-footer-main > .main-footer__wrapper,
  .main-footer--two > .sb-footer-main > .main-footer__wrapper > .row {
    display: contents;
  }
  .main-footer--two > .main-footer__bg {
    order: 0;
  }
  .main-footer--two .sb-footer-col--logo {
    order: 1;
    padding-top: 48px;
  }
  .main-footer--two .sb-footer-col--tagline {
    order: 2;
    padding-top: 28px;
  }
  .main-footer--two .sb-footer-col--links {
    order: 3;
    padding-top: 28px;
  }
  .main-footer--two .sb-footer-col--social {
    order: 4;
    padding-top: 28px;
  }
  .main-footer--two .sb-footer-col--contact {
    order: 5;
    padding-top: 28px;
  }
  .main-footer--two .sb-footer-col--legal {
    order: 6;
    padding-top: 28px;
    padding-bottom: 20px;
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .main-footer--two > .main-footer__bottom {
    order: 7;
  }
  .main-footer--two .sb-footer-col {
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
  }
  .main-footer--two .footer-widget--about,
  .main-footer--two .footer-widget--social,
  .main-footer--two .footer-widget--contact,
  .main-footer--two .footer-widget--links,
  .main-footer--two .sb-footer-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .main-footer--two .footer-widget--social {
    justify-content: center;
    gap: 20px;
  }
  .main-footer--two .footer-widget--social .social-links {
    justify-content: center;
  }
  .main-footer--two .footer-widget--social .social-links::before {
    display: none;
  }
  .main-footer--two .footer-widget__info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .main-footer--two .footer-widget__info li {
    justify-content: center;
  }
  .main-footer--two .footer-widget__title {
    text-align: center;
  }
  .main-footer--two .footer-widget__title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .main-footer--two .footer-widget__links {
    text-align: center;
  }
  .main-footer--two .sb-footer-tagline {
    align-items: center;
    text-align: center;
  }
  .main-footer--two .sb-footer-legal__name,
  .main-footer--two .sb-footer-legal__list,
  .main-footer--two .sb-footer-legal__policy {
    text-align: center;
  }
  .main-footer--two .main-footer__bottom__inner,
  .main-footer--two .main-footer__copyright {
    text-align: center;
  }
  .main-footer--two .main-footer__copyright {
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
  }
  .main-footer--two .sb-footer-br {
    display: none;
  }
}

.sb-footer-tagline {
  display: flex;
  flex-direction: column;
  gap: 0.12em;
  font-size: 34px !important;
  letter-spacing: -0.5px !important;
  line-height: 1.2 !important;
}
.sb-footer-tagline.footer-widget__about-title span {
  font-size: inherit !important;
  letter-spacing: inherit !important;
}
.sb-footer-tagline__line {
  display: block;
}
.sb-footer-tagline__line--white {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-weight: 800 !important;
}
.sb-footer-tagline__accent {
  display: inline-block;
  font-size: 1em !important;
  font-weight: 700 !important;
  letter-spacing: inherit !important;
  background: linear-gradient(90deg, #d930aa 0%, #3e5dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: sb-title-pulse 3s ease-in-out infinite;
}
@media (max-width: 991px) {
  .sb-footer-tagline {
    font-size: 28px !important;
  }
}
@media (max-width: 575px) {
  .sb-footer-tagline {
    font-size: 24px !important;
  }
}

.sb-footer-legal__name {
  margin: 0 0 12px;
  font-family: var(--aigence-font), "Unbounded", sans-serif;
  font-size: 15px;
  font-weight: 200;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #fff;
}
.sb-footer-legal__list {
  margin: 0 0 16px;
  padding: 0;
}
.sb-footer-legal__list li {
  font-family: var(--aigence-font), "Unbounded", sans-serif;
  font-size: 13px;
  font-weight: 200;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--aigence-text-gray, #8c9ed3);
}
.sb-footer-legal__label {
  color: var(--aigence-base, #d032af);
}
.sb-footer-legal__policy {
  display: inline-block;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--aigence-base, #d032af);
  text-transform: none;
  letter-spacing: 0.01em;
  text-decoration: none;
  background: linear-gradient(to right, currentcolor 0%, currentcolor 100%) 0 100% / 0 1px no-repeat;
  transition: background-size 500ms ease, color 500ms ease;
}
.sb-footer-legal__policy:hover {
  color: var(--aigence-base, #d032af);
  background-size: 100% 1px;
}

.sb-social-links .fab {
  font-size: 15px;
  line-height: 1;
}
.footer-widget .sb-social-links .social-links__icon,
.footer-widget .sb-social-links .fab {
  color: var(--aigence-black, #0d1a42);
}
.footer-widget .sb-social-links a:hover .social-links__icon,
.footer-widget .sb-social-links a:hover .fab {
  color: var(--aigence-white, #fff);
}
.mobile-nav__content .sb-social-links .social-links__icon,
.mobile-nav__content .sb-social-links .fab {
  color: var(--aigence-white, #fff);
}
.mobile-nav__content .sb-social-links a:hover .social-links__icon,
.mobile-nav__content .sb-social-links a:hover .fab {
  color: var(--aigence-base, #d032af);
}
.mobile-nav__content .sb-social-links .sb-icon-max {
  filter: brightness(0) invert(1);
}
/* Иконки соцсетей выезжают слева после того, как панель меню полностью открылась (~1000ms) */
.mobile-nav__content .sb-social-links > a {
  opacity: 0;
  transform: translateX(-40px);
}
.mobile-nav__wrapper.expanded .mobile-nav__content .sb-social-links > a {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 450ms ease, transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-nav__wrapper.expanded .sb-social-links > a:nth-child(1) { transition-delay: 1050ms; }
.mobile-nav__wrapper.expanded .sb-social-links > a:nth-child(2) { transition-delay: 1150ms; }
.mobile-nav__wrapper.expanded .sb-social-links > a:nth-child(3) { transition-delay: 1250ms; }
.mobile-nav__wrapper.expanded .sb-social-links > a:nth-child(4) { transition-delay: 1350ms; }
@media (prefers-reduced-motion: reduce) {
  .mobile-nav__content .sb-social-links > a {
    opacity: 1;
    transform: none;
    transition: none !important;
  }
}
.mobile-nav__content .sb-social-links a:hover .sb-icon-max {
  filter: brightness(0) saturate(100%) invert(37%) sepia(67%) saturate(3574%) hue-rotate(288deg) brightness(92%) contrast(88%);
  animation: none;
}
.sb-social-links .sb-icon-max {
  display: block;
  width: 15px;
  height: 15px;
  object-fit: contain;
  transition: all 500ms ease;
  filter: brightness(0) saturate(100%) invert(8%) sepia(23%) saturate(4743%) hue-rotate(212deg) brightness(95%) contrast(91%);
}
.sb-social-links a:hover .sb-icon-max {
  filter: brightness(0) invert(1);
  animation: slideTop 400ms;
}

/* ── Страница политики конфиденциальности ── */
.sb-legal-page {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--aigence-black, #0d1a42);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(208, 48, 170, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(62, 93, 255, 0.08) 0%, transparent 50%),
    #f7f8ff;
  line-height: 1.75;
  font-weight: 500;
}
.sb-legal-back {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, #D930AA 0%, #3E5DFF 100%);
  box-shadow: 0 12px 32px rgba(13, 26, 66, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sb-legal-back:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(13, 26, 66, 0.28);
}
.sb-legal-back__icon {
  font-size: 18px;
  line-height: 1;
}
.sb-legal-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--aigence-black, #0d1a42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(2, 11, 40, 0.18);
}
.sb-legal-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.sb-legal-bar__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.sb-legal-bar__logo img {
  display: block;
  width: auto;
  height: 36px;
  max-width: min(180px, 52vw);
}
.sb-legal-bar__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}
.sb-legal-bar__phone i {
  font-size: 18px;
  color: var(--aigence-base, #d032af);
  transition: color 0.3s ease;
}
.sb-legal-bar__phone:hover {
  color: #fff;
  opacity: 0.92;
}
.sb-legal-bar__phone:hover i {
  color: #fff;
}
@media (max-width: 575px) {
  .sb-legal-bar__phone span {
    font-size: 12px;
  }
  .sb-legal-bar__phone i {
    font-size: 16px;
  }
}
.sb-legal-main {
  padding: 36px 24px 100px;
}
.sb-legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 40px 44px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(13, 26, 66, 0.08);
}
.sb-legal-content__title {
  margin: 0 auto 28px;
  max-width: 640px;
  font-size: clamp(20px, 3.2vw, 28px);
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  color: var(--aigence-black, #0d1a42);
  background: linear-gradient(90deg, #D930AA 0%, #3E5DFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sb-legal-section + .sb-legal-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(13, 26, 66, 0.08);
}
.sb-legal-section__title {
  margin: 0 0 16px;
  font-size: clamp(17px, 2.5vw, 20px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--aigence-black, #0d1a42);
}
.sb-legal-section__num {
  color: var(--aigence-base, #d032af);
}
.sb-legal-section p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
  color: #4a5678;
}
.sb-legal-section p:last-child {
  margin-bottom: 0;
}
.sb-legal-section p strong {
  color: var(--aigence-black, #0d1a42);
  font-weight: 700;
}
.sb-legal-section a {
  color: var(--aigence-base, #d032af);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sb-legal-section a:hover {
  color: #3e5dff;
}
.sb-legal-list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.sb-legal-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: #4a5678;
}
.sb-legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D930AA 0%, #3E5DFF 100%);
}
.sb-legal-list li:last-child {
  margin-bottom: 0;
}
.sb-legal-section--intro {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.sb-legal-sublist {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.sb-legal-sublist li {
  position: relative;
  padding-left: 0;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: #4a5678;
}
.sb-legal-sublist li strong {
  color: var(--aigence-base, #d032af);
  font-weight: 700;
}
.sb-legal-sublist li:last-child {
  margin-bottom: 0;
}
.sb-legal-content--wide {
  max-width: 820px;
}
.sb-legal-meta {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.6;
  color: #6b7898;
}
.sb-legal-section__subtitle {
  margin: 20px 0 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--aigence-black, #0d1a42);
}
.sb-legal-note {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(13, 26, 66, 0.08);
}
.sb-legal-note p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.65;
  color: #6b7898;
}
.sb-legal-note p:last-child {
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .sb-legal-back {
    left: max(16px, env(safe-area-inset-left));
    right: auto;
    bottom: max(16px, env(safe-area-inset-bottom));
  }
  .sb-legal-content {
    padding: 24px 16px 88px;
    border-radius: 16px;
  }
  .sb-legal-main {
    padding: 24px 14px 100px;
  }
  .sb-legal-content__title {
    font-size: 22px;
    margin-bottom: 20px;
  }
}

/* ── Плашка cookie ── */
.sb-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9990;
  padding: 16px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.sb-cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sb-cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 16px;
  background: var(--aigence-black, #0d1a42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px rgba(2, 11, 40, 0.38);
}
.sb-cookie-banner__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}
.sb-cookie-banner__text a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(208, 50, 175, 0.75);
  transition: text-decoration-color 0.25s ease, color 0.25s ease;
}
.sb-cookie-banner__text a:hover {
  color: #fff;
  text-decoration-color: #fff;
}
.sb-cookie-banner__btn {
  flex-shrink: 0;
  margin: 0;
  padding: 13px 26px;
  border: 0;
  border-radius: 100px;
  font-family: var(--aigence-font);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, #D930AA 0%, #3E5DFF 100%);
  box-shadow: 0 8px 22px rgba(62, 93, 255, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
.sb-cookie-banner__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(62, 93, 255, 0.36);
  filter: brightness(1.06);
}
.sb-cookie-banner__btn:active {
  transform: translateY(0);
}
@media (max-width: 767px) {
  .sb-cookie-banner {
    padding: 12px;
  }
  .sb-cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 14px;
  }
  .sb-cookie-banner__btn {
    width: 100%;
    text-align: center;
  }
}

/* ── Страница 404 ── */
.sb-error-page {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(208, 48, 170, 0.22) 0%, transparent 58%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(62, 93, 255, 0.18) 0%, transparent 55%),
    #020b28;
}
.sb-error-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}
.sb-error-logo {
  display: inline-block;
  margin-bottom: 36px;
}
.sb-error-logo img {
  display: block;
  width: auto;
  height: 40px;
  max-width: min(220px, 70vw);
  filter: brightness(0) invert(1);
}
.sb-error-code {
  margin: 0 0 12px;
  font-size: clamp(72px, 18vw, 140px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #D930AA 0%, #3E5DFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sb-error-title {
  margin: 0 0 14px;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}
.sb-error-text {
  margin: 0;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}
.sb-error-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
  margin-top: 32px;
}
.sb-error-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, #D930AA 0%, #3E5DFF 100%);
  box-shadow: 0 12px 32px rgba(62, 93, 255, 0.32);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sb-error-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(62, 93, 255, 0.4);
}
.sb-error-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.25s ease;
}
.sb-error-phone i {
  font-size: 18px;
  color: var(--aigence-base, #d032af);
}
.sb-error-phone:hover {
  color: #fff;
}
.sb-error-phone:hover i {
  color: #fff;
}

/* ── Lead modal: liquid glass ── */
html.sb-lead-modal-open,
body.sb-lead-modal-open {
  overflow: hidden;
}
.sb-lead-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.sb-lead-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.sb-lead-modal[hidden] {
  display: none !important;
}
.sb-lead-modal.is-open[hidden] {
  display: flex !important;
}
.sb-lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 18% 20%, rgba(217, 48, 170, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 88% 78%, rgba(62, 93, 255, 0.26) 0%, transparent 62%),
    rgba(8, 12, 32, 0.72);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  cursor: pointer;
}
.sb-lead-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(92vh, 820px);
  outline: none;
}
.sb-lead-modal__glow {
  position: absolute;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 38% at 22% 18%, rgba(217, 48, 170, 0.45) 0%, transparent 65%),
    radial-gradient(ellipse 40% 36% at 82% 82%, rgba(62, 93, 255, 0.4) 0%, transparent 65%);
  filter: blur(8px);
  animation: sbLeadGlow 10s ease-in-out infinite alternate;
}
@keyframes sbLeadGlow {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  to { transform: translate3d(2%, -2%, 0) scale(1.06); opacity: 1; }
}
/* Плавный проблеск по стеклу формы */
.sb-lead-modal__shimmer {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 28px;
  overflow: hidden;
  pointer-events: none;
}
.sb-lead-modal__shimmer::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 0;
  width: 22%;
  height: 140%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 170, 220, 0.05) 46%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(170, 195, 255, 0.06) 54%,
    transparent 60%,
    transparent 100%
  );
  transform: translateX(-160%) skewX(-14deg);
  opacity: 0;
  will-change: transform, opacity;
}
.sb-lead-modal.is-open .sb-lead-modal__shimmer.is-running::before {
  animation:
    sbLeadShimmerIn 2.8s cubic-bezier(0.33, 0.1, 0.25, 1) 0.4s both,
    sbLeadShimmerLoop 11s cubic-bezier(0.33, 0.1, 0.25, 1) 4.5s infinite;
}
@keyframes sbLeadShimmerIn {
  0% {
    opacity: 0;
    transform: translateX(-160%) skewX(-14deg);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(520%) skewX(-14deg);
  }
}
/* Пауза ~8.2 с, затем проход те же ~2.8 с и с тем же easing, что у первого */
@keyframes sbLeadShimmerLoop {
  0%,
  74.5% {
    opacity: 0;
    transform: translateX(-160%) skewX(-14deg);
  }
  78.3% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(520%) skewX(-14deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sb-lead-modal__shimmer::before,
  .sb-lead-modal.is-open .sb-lead-modal__shimmer.is-running::before {
    animation: none;
    opacity: 0;
  }
}
.sb-lead-modal__panel {
  position: relative;
  z-index: 1;
  overflow: auto;
  max-height: min(92vh, 820px);
  padding: clamp(24px, 4vw, 36px);
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 42%, rgba(255, 255, 255, 0.1) 100%),
    rgba(18, 28, 68, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 -1px 0 rgba(13, 26, 66, 0.2) inset,
    0 30px 80px rgba(5, 10, 30, 0.55);
  backdrop-filter: blur(28px) saturate(1.55);
  -webkit-backdrop-filter: blur(28px) saturate(1.55);
  transform: translateY(18px) scale(0.97);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.sb-lead-modal.is-open .sb-lead-modal__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.sb-lead-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.sb-lead-modal__close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
  transform: rotate(90deg);
}
.sb-lead-modal__close:focus-visible {
  outline: 2px solid #8ea2ff;
  outline-offset: 2px;
}
.sb-lead-modal__head {
  margin: 0 36px 22px 0;
}
.sb-lead-modal__eyebrow {
  margin: 0 0 8px;
  font-family: var(--aigence-font), "Unbounded", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ff7ad9 0%, #8ea2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sb-lead-modal__title {
  margin: 0 0 10px;
  font-family: var(--aigence-font), "Unbounded", sans-serif;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}
.sb-lead-modal__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}
.sb-lead-modal__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.sb-lead-modal__field--full {
  grid-column: 1 / -1;
}
.sb-lead-modal__form .form-one__control label {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}
.sb-lead-modal__form input[type="text"],
.sb-lead-modal__form input[type="tel"] {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.sb-lead-modal__form input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}
.sb-lead-modal__form input:focus {
  border-color: rgba(142, 162, 255, 0.75);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 3px rgba(62, 93, 255, 0.22);
}
.sb-lead-modal__consents {
  margin-bottom: 18px;
}
.sb-lead-modal__consents .sb-form-consent__text {
  color: rgba(255, 255, 255, 0.78);
}
.sb-lead-modal__consents .sb-form-consent__link {
  color: #ffb3e6;
}
.sb-lead-modal__consents .sb-form-consent__box {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}
.sb-lead-modal__submit.aigence-btn {
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
}
.sb-lead-modal__submit .aigence-btn__text {
  flex: 0 1 auto;
  text-align: center;
}
.sb-lead-modal__form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.sb-lead-modal__form > .sb-lead-modal__submit,
.sb-lead-modal__form > .aigence-btn.sb-lead-modal__submit {
  align-self: center;
}
.sb-lead-modal__form.is-consent-invalid .sb-form-consent__input:not(:checked) + .sb-form-consent__box {
  border-color: #ff6b9a;
  box-shadow: 0 0 0 2px rgba(255, 107, 154, 0.25);
}
@media (max-width: 575px) {
  .sb-lead-modal__fields {
    grid-template-columns: 1fr;
  }
  .sb-lead-modal__panel {
    border-radius: 22px;
    padding: 22px 18px 20px;
  }
  .sb-lead-modal__head {
    margin-right: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sb-lead-modal,
  .sb-lead-modal__panel,
  .sb-lead-modal__glow,
  .sb-lead-modal__close {
    transition: none;
    animation: none;
  }
  .sb-lead-modal.is-open .sb-lead-modal__panel {
    transform: none;
  }
}

/* ── FAQ: ссылка на бриф ── */
.sb-faq__answer-panel a {
  color: var(--aigence-base, #d032af);
  text-decoration: none;
  background: linear-gradient(to right, currentcolor 0%, currentcolor 100%) 0 100% / 0 1px no-repeat;
  transition: background-size 400ms ease, color 400ms ease;
}
.sb-faq__answer-panel a:hover {
  color: #3e5dff;
  background-size: 100% 1px;
}

/* ── Страница брифа ── */
.sb-brief-page {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--aigence-black, #0d1a42);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(208, 48, 170, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(62, 93, 255, 0.08) 0%, transparent 50%),
    #f7f8ff;
  font-family: var(--aigence-font), "Unbounded", sans-serif;
}
.sb-brief-page *,
.sb-brief-page *::before,
.sb-brief-page *::after {
  box-sizing: border-box;
}
.sb-brief {
  padding: 120px 0 80px;
}
.sb-brief__container.container,
.sb-brief__container {
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.sb-brief__intro {
  margin: 0 auto 36px;
  text-align: center;
}
.sb-brief__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #d930aa 0%, #3e5dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.sb-brief__title {
  margin: 0 0 16px;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--aigence-black, #0d1a42);
}
.sb-brief__lead {
  margin: 0 auto 12px;
  max-width: 36em;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: rgba(13, 26, 66, 0.78);
}
.sb-brief__goals {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  max-width: 36em;
  text-align: left;
}
.sb-brief__goals li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(13, 26, 66, 0.72);
}
.sb-brief__goals li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d930aa 0%, #3e5dff 100%);
}
.sb-brief__form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  margin: 0 auto;
}
.sb-brief__block {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 22px;
  min-width: 0;
  min-inline-size: 0;
  box-sizing: border-box;
  border: 1px solid rgba(13, 26, 66, 0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(13, 26, 66, 0.05);
}
.sb-brief__legend {
  display: flex;
  align-items: center;
  gap: 12px;
  float: none;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--aigence-black, #0d1a42);
}
.sb-brief__num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, #d930aa 0%, #3e5dff 100%);
}
.sb-brief__desc,
.sb-brief__hint {
  display: block;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(13, 26, 66, 0.38);
}
.sb-brief__field {
  display: block;
  width: 100%;
  margin: 0;
}
.sb-brief__field input,
.sb-brief__field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 14px 16px;
  box-sizing: border-box;
  border: 1px solid rgba(13, 26, 66, 0.12);
  border-radius: 12px;
  background: #fff;
  color: var(--aigence-black, #0d1a42);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.sb-brief__field input::placeholder,
.sb-brief__field textarea::placeholder {
  color: rgba(13, 26, 66, 0.3);
  opacity: 1;
}
.sb-brief__field input {
  height: 50px;
  padding-top: 0;
  padding-bottom: 0;
}
.sb-brief__field textarea {
  min-height: 110px;
  resize: vertical;
}
.sb-brief__field input:focus,
.sb-brief__field textarea:focus {
  outline: none;
  border-color: rgba(208, 48, 170, 0.45);
  box-shadow: 0 0 0 3px rgba(208, 48, 170, 0.12);
}
.sb-brief__field input.is-field-invalid,
.sb-brief__field textarea.is-field-invalid {
  border-color: #ff6b9a;
  box-shadow: 0 0 0 2px rgba(255, 107, 154, 0.18);
}
.sb-brief__radios {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
  margin: 0;
  align-items: stretch;
}
.sb-brief__radios--inline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sb-brief__radio {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  height: 100%;
  margin: 0;
  padding: 14px 16px;
  box-sizing: border-box;
  border: 1px solid rgba(13, 26, 66, 0.1);
  border-radius: 12px;
  background: #fafbff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--aigence-black, #0d1a42);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.sb-brief__radio > span:last-child {
  flex: 1;
}
.sb-brief__radio:hover {
  border-color: rgba(208, 48, 170, 0.28);
}
.sb-brief__radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sb-brief__radio-ui {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(13, 26, 66, 0.22);
  background: #fff;
  box-shadow: inset 0 0 0 0 #d930aa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sb-brief__radio input:checked + .sb-brief__radio-ui {
  border-color: #d930aa;
  box-shadow: inset 0 0 0 5px #d930aa;
}
.sb-brief__radio input:focus-visible + .sb-brief__radio-ui {
  outline: 2px solid rgba(62, 93, 255, 0.45);
  outline-offset: 2px;
}
.sb-brief__radio:has(input:checked) {
  border-color: rgba(208, 48, 170, 0.35);
  background: linear-gradient(180deg, rgba(208, 48, 170, 0.06) 0%, #fff 70%);
}
.sb-brief__reveal[hidden] {
  display: none !important;
}
.sb-brief__reveal:not([hidden]) {
  display: block;
  margin-top: 2px;
  animation: sbBriefReveal 0.28s ease;
}
@keyframes sbBriefReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.sb-brief__upload {
  display: block;
  width: 100%;
  margin: 0;
}
.sb-brief__upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.sb-brief__upload-ui {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  box-sizing: border-box;
  border: 1px dashed rgba(13, 26, 66, 0.18);
  border-radius: 12px;
  background: #fafbff;
  cursor: pointer;
}
.sb-brief__upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #d930aa 0%, #3e5dff 100%);
}
.sb-brief__upload-name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(13, 26, 66, 0.62);
  word-break: break-word;
}
.sb-brief__error {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #d0326f;
}
.sb-brief__block.is-either-invalid .sb-brief__upload-ui,
.sb-brief__block.is-either-invalid textarea {
  border-color: #ff6b9a;
}
.sb-brief__consents {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin: 4px 0 0;
  padding: 18px 20px;
  box-sizing: border-box;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(13, 26, 66, 0.08);
  box-shadow: 0 12px 36px rgba(13, 26, 66, 0.05);
}
.sb-brief__consents .sb-form-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  cursor: pointer;
  text-align: left;
  position: relative;
}
.sb-brief__consents .sb-form-consent__input {
  position: absolute;
  left: 0;
  top: 1px;
  z-index: 2;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
.sb-brief__consents .sb-form-consent__box {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 2px solid rgba(13, 26, 66, 0.28);
  border-radius: 5px;
  background: #fff;
  box-sizing: border-box;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.sb-brief__consents .sb-form-consent__box::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 5px;
  width: 6px;
  height: 10px;
  border: solid #d032af;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
}
.sb-brief__consents .sb-form-consent__input:checked + .sb-form-consent__box {
  background: #fff;
  border-color: #d032af;
  box-shadow: 0 4px 14px rgba(208, 50, 175, 0.16);
}
.sb-brief__consents .sb-form-consent__input:checked + .sb-form-consent__box::after {
  transform: rotate(45deg) scale(1);
}
.sb-brief__consents .sb-form-consent__input:focus-visible + .sb-form-consent__box {
  outline: 2px solid rgba(62, 93, 255, 0.55);
  outline-offset: 2px;
}
.sb-brief__consents .sb-form-consent__text {
  flex: 1;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  color: rgba(13, 26, 66, 0.78);
}
.sb-brief__consents .sb-form-consent__link {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #d032af;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sb-brief__consents .sb-form-consent__link:hover {
  color: #3e5dff;
}
.sb-brief__form.is-consent-invalid .sb-form-consent__input:not(:checked) + .sb-form-consent__box {
  border-color: #ff6b9a;
  box-shadow: 0 0 0 2px rgba(255, 107, 154, 0.2);
}
.sb-brief__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  margin-top: 8px;
}
.sb-brief__submit {
  display: flex;
  width: 100%;
  max-width: 100%;
  justify-content: center;
}
.sb-brief__submit .aigence-btn__text {
  flex: 1 1 auto;
  min-width: 0;
}
.sb-brief__submit .aigence-btn__icon {
  flex-shrink: 0;
}
.sb-brief__submit:disabled {
  opacity: 0.65;
  pointer-events: none;
}
.sb-brief__actions .sb-form-note {
  color: rgba(13, 26, 66, 0.55);
  text-align: center;
}
.sb-brief__result {
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}
.sb-brief__result.is-success {
  color: #0d1a42;
  background: rgba(62, 93, 255, 0.1);
  border: 1px solid rgba(62, 93, 255, 0.2);
}
.sb-brief__result.is-error {
  color: #8a1248;
  background: rgba(255, 107, 154, 0.12);
  border: 1px solid rgba(255, 107, 154, 0.28);
}
@media (min-width: 768px) {
  .sb-brief__radios:not(.sb-brief__radios--inline) {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1400px) {
  .sb-brief__container.container,
  .sb-brief__container {
    max-width: 840px;
  }
  .sb-legal-bar__inner {
    max-width: 1200px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .sb-legal-content {
    max-width: 860px;
  }
}
@media (max-width: 991px) {
  .sb-brief-page,
  .sb-legal-page {
    overflow-x: clip;
  }
  .sb-legal-bar__inner {
    padding: 12px 14px;
    gap: 10px;
  }
  .sb-legal-bar__logo {
    min-width: 0;
    flex: 0 1 auto;
  }
  .sb-legal-bar__logo img {
    height: 28px;
    max-width: min(140px, 42vw);
  }
  .sb-legal-bar__phone {
    flex: 0 1 auto;
    min-width: 0;
    gap: 6px;
    font-size: 12px;
  }
  .sb-legal-back {
    left: max(12px, env(safe-area-inset-left));
    bottom: max(12px, env(safe-area-inset-bottom));
    padding: 12px 16px 12px 14px;
    font-size: 12px;
  }
}
@media (max-width: 767px) {
  .sb-brief {
    padding: 24px 0 108px;
  }
  .sb-brief__container.container,
  .sb-brief__container {
    width: 100%;
    max-width: 100%;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  .sb-brief__intro {
    margin-bottom: 22px;
    max-width: 100%;
  }
  .sb-brief__title {
    font-size: clamp(20px, 6.2vw, 28px);
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .sb-brief__lead {
    font-size: 14px;
  }
  .sb-brief__goals {
    max-width: none;
  }
  .sb-brief__goals li {
    font-size: 13px;
    padding-left: 16px;
  }
  .sb-brief__form {
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }
  .sb-brief__block,
  .sb-brief__consents,
  .sb-brief__actions,
  .sb-brief__result {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .sb-brief__block {
    padding: 14px;
    border-radius: 14px;
    gap: 10px;
  }
  .sb-brief__legend {
    display: flex;
    align-items: flex-start;
    font-size: 13px;
    gap: 8px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .sb-brief__num {
    margin-top: 1px;
    min-width: 26px;
    height: 26px;
    font-size: 11px;
  }
  .sb-brief__desc,
  .sb-brief__hint {
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  .sb-brief__radios,
  .sb-brief__radios--inline {
    grid-template-columns: 1fr;
  }
  .sb-brief__radio {
    min-height: 46px;
    padding: 11px 12px;
    font-size: 13px;
    gap: 10px;
  }
  .sb-brief__field,
  .sb-brief__upload {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .sb-brief__field input,
  .sb-brief__field textarea {
    width: 100%;
    max-width: 100%;
    font-size: 16px; /* iOS zoom fix */
  }
  .sb-brief__field input {
    height: 48px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .sb-brief__field textarea {
    min-height: 110px;
    padding: 12px;
  }
  .sb-brief__upload-ui {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
  }
  .sb-brief__upload-btn {
    width: 100%;
    text-align: center;
  }
  .sb-brief__consents {
    padding: 12px;
  }
  .sb-brief__consents .sb-form-consent {
    gap: 10px;
  }
  .sb-brief__consents .sb-form-consent__text {
    font-size: 11px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .sb-brief__consents .sb-form-consent__link {
    font-size: 10px;
    letter-spacing: 0.02em;
  }
  .sb-brief__submit {
    width: 100%;
    max-width: 100%;
    gap: 8px;
  }
  .sb-brief__submit .aigence-btn__text {
    flex: 1 1 auto;
    min-width: 0;
    padding: 14px 12px;
    font-size: 12px;
    line-height: 1.25;
    white-space: normal;
  }
  .sb-brief__submit .aigence-btn__icon {
    width: 46px;
    height: 46px;
    font-size: 16px;
  }
  .sb-brief__result {
    font-size: 13px;
    padding: 12px;
    overflow-wrap: anywhere;
  }
  .sb-legal-bar__phone span {
    font-size: 11px;
  }
}
@media (max-width: 420px) {
  .sb-legal-bar__inner {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .sb-legal-bar__logo {
    flex: 1 1 auto;
  }
  .sb-legal-bar__phone {
    margin-left: 0;
  }
  .sb-legal-bar__phone span {
    font-size: 11px;
    letter-spacing: -0.02em;
  }
  .sb-legal-bar__logo img {
    height: 24px;
    max-width: min(128px, 48vw);
  }
}
@media (max-width: 575px) {
  .sb-brief {
    padding: 20px 0 100px;
  }
  .sb-legal-back__text {
    display: none;
  }
  .sb-legal-back {
    padding: 0;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    justify-content: center;
  }
  .sb-legal-content {
    padding: 20px 12px 72px;
  }
  .sb-legal-content__title {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .cta-one__form input[type="text"],
  .cta-one__form input[type="tel"],
  .sb-lead-modal__form input[type="text"],
  .sb-lead-modal__form input[type="tel"] {
    font-size: 16px;
  }
}
