
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
  font-family: 'Rostel';
  src: url('/tools/font/RostelecomBasis-Regular.eot');
  src: url('/tools/font/RostelecomBasis-Regular.eot?#iefix') format('embedded-opentype'),
  url('/tools/font/RostelecomBasis-Regular.woff') format('woff'),
  url('/tools/font/RostelecomBasis-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: 'Rostel';
  src: url('/tools/font/RostelecomBasis-Medium.eot');
  src: url('/tools/font/RostelecomBasis-Medium.eot?#iefix') format('embedded-opentype'),
  url('/tools/font/RostelecomBasis-Medium.woff') format('woff'),
  url('/tools/font/RostelecomBasis-Medium.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: 'Rostel';
  src: url('/tools/font/RostelecomBasis-Light.eot');
  src: url('/tools/font/RostelecomBasis-Light.eot?#iefix') format('embedded-opentype'),
  url('/tools/font/RostelecomBasis-Light.woff') format('woff'),
  url('/tools/font/RostelecomBasis-Light.ttf') format('truetype');
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: 'Rostel';
  src: url('/tools/font/RostelecomBasis-Bold.eot');
  src: url('/tools/font/RostelecomBasis-Bold.eot?#iefix') format('embedded-opentype'),
  url('/tools/font/RostelecomBasis-Bold.woff') format('woff'),
  url('/tools/font/RostelecomBasis-Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: bold;
}




input, button{
    border: none;
    background: none;
    outline: none;
    font-size: 16px;
    cursor: pointer;
}

html{
    scroll-behavior: smooth;
    overflow-x: hidden;
}

img{
    max-width: 100%;
    height: auto;
}

a{
    text-decoration: none;
    color: inherit;
}

ul,ol{
    list-style: none;
}


.container{
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    @media(max-width: 1310px){
        padding: 0 15px;
    }
}


body{
    background-color: #FDFDFD;
    max-width: 1920px;
    margin: 0 auto !important;
    position: relative;
    overflow-x: hidden;
    font-family: 'Rostel';
}

.bold{
    font-weight: 700 !important;
}



/* анимки */


/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Глобальные классы для анимаций */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

/* Анимация для плавного появления и увеличения блока */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Класс для применения анимации */
.animate-scale-in {
    animation: scaleIn 0.8s ease-out forwards;
}



/* *** about *** */

.about {
    margin-top: 100px;
  }
  .about__wrapper {
    margin-top: 70px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
  }
  @media (max-width: 1024px) {
    .about__wrapper {
      flex-wrap: wrap;
      gap: 60px;
      justify-content: center;
    }
  }
  .about__wrapper__bg {
    position: relative;
    max-width: 473px;
    width: 100%;
  }
  .about__wrapper__bg__img {
    position: relative;
    z-index: 5;
  }
  .about__wrapper__bg__circle {
    position: absolute;
    left: -222px;
    top: -205px;
  }
  .about__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 668px;
  }
  @media (max-width: 1186px) {
    .about__text {
      max-width: 500px;
    }
  }
  @media (max-width: 1024px) {
    .about__text {
      max-width: 80%;
      order: -2;
    }
  }
  @media (max-width: 550px) {
    .about__text {
      max-width: 100%;
    }
  }
  .about__text__title {
    font-weight: 700;
    font-size: 32px;
  }
  @media (max-width: 1024px) {
    .about__text__title {
      text-align: center;
    }
  }
  @media (max-width: 425px) {
    .about__text__title {
      font-size: 18px;
    }
  }
  .about__text__title span {
    font-weight: 700;
    font-size: 32px;
    background: linear-gradient(90deg, #f7b36a 0%, #f97e70 52%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  @media (max-width: 425px) {
    .about__text__title span {
      font-size: 22px;
    }
  }
  .about__text__desc {
    font-weight: 400;
    font-size: 20px;
    color: #7a7a7a;
    max-width: 524px;
  }
  .about__text__desc img {
    position: relative;
    top: 5px;
  }
  @media (max-width: 1024px) {
    .about__text__desc {
      text-align: center;
      max-width: 100%;
    }
  }
  @media (max-width: 425px) {
    .about__text__desc {
      font-size: 16px;
    }
  }




  /* *** benefits *** */

  
.benefit {
  margin-top: 140px;
}
.benefit__wrapper {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
@media (max-width: 1160px) {
  .benefit__wrapper {
    align-items: center;
  }
}
@media (max-width: 768px) {
  .benefit__wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }
}
.benefit__wrapper img {
  max-width: 500px;
}
@media (max-width: 1160px) {
  .benefit__wrapper img {
    max-width: 50%;
    -o-object-fit: contain;
       object-fit: contain;
  }
}
@media (max-width: 768px) {
  .benefit__wrapper img {
    max-width: 100%;
  }
}
.benefit__container {
  max-width: 60%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
@media (max-width: 768px) {
  .benefit__container {
    max-width: 100%;
  }
}
.benefit__item {
  max-width: 90%;
  background-color: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 20px;
  box-shadow: 0 3px 21px rgba(89, 100, 255, 0.08);
  padding: 20px;
}
@media (max-width: 768px) {
  .benefit__item {
    max-width: 100%;
  }
}
@media (max-width: 530px) {
  .benefit__item {
    flex-direction: column;
    align-items: baseline;
  }
}
.benefit__item__center {
  align-self: flex-start;
}
@media (max-width: 1160px) {
  .benefit__item__center {
    align-self: auto;
  }
}
.benefit__item__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.benefit__item__text__title {
  font-style: normal;
  font-weight: 600;
  font-size: 32px;
  line-height: 42px;
}
@media (max-width: 1024px) {
  .benefit__item__text__title {
    font-weight: 600;
    font-size: 25px;
    line-height: 34px;
  }
}
.benefit__item__text__desc {
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
}
@media (max-width: 1024px) {
  .benefit__item__text__desc {
    font-size: 18px;
    line-height: 26px;
  }
}
.benefit__item__img {
  background: linear-gradient(270deg, #ffa46b 0%, #fc836e 86.5%);
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
  padding: 16px;
  border-radius: 50%;
}
.benefit__item__img__second {
  background-image: linear-gradient(90deg, #2F057B 0%, #6441C1 100%) !important;
}
.benefit__item__img__third {
  background: linear-gradient(270deg, #21e6f6 0%, #37d3fb 86.5%) !important;
}
.benefit__title {
  font-size: 42px;
  margin-top: 10px;
  color: #3c3c3c;
}
.benefit__title__wrapper {
  text-align: left;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  position: relative;
}
.benefit__title__wrapper__line {
  position: absolute;
  top: -195px;
  left: 0px;
  z-index: -100;
}
.benefit__title__sub {
  color: #fff;
  font-weight: 600;
  margin-top: 10px;
  background-color: #1ED8B6;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 32px;
  font-size: 24px;
}

/* Анимации появления */
.animate {
  opacity: 1;
  transform: translateY(0);
}


/* *** feedback *** */


.feedback {
  margin-top: 100px;
  position: relative;
  z-index: 5;
}
@media (max-width: 450px) {
  .feedback {
    margin-top: 60px;
  }
}
.feedback__button {
  max-width: 100%;
  width: 100%;
  background-image: linear-gradient(90deg, #5e3b9e 0%, #663ed4 100%);
  color: #fff;
  font-weight: 600;
  font-size: 26px;
  border-radius: 10px;
  padding: 20px;
  z-index: 1;
}
.feedback__wrapper {
  background-image: linear-gradient(90deg, #FF7369 0%, #FFB06D 100%);
  border-radius: 40px;
  padding: 40px 0 60px 0;
  position: relative;
  overflow: hidden;
}
.feedback__wrapper__bg__first {
  position: absolute;
  top: -10px;
  left: -10px;
}
.feedback__wrapper__bg__second {
  position: absolute;
  top: 0px;
  right: -200px;
}
.feedback__wrapper__bg__third {
  position: absolute;
  bottom: -80px;
  right: -80px;
}
.feedback__inner {
  max-width: 800px;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 2;
}
@media (max-width: 880px) {
  .feedback__inner {
    padding: 0 20px;
  }
}
.feedback__item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feedback__item input, .feedback__item textarea {
  color: #000;
  font-weight: 600;
}
.feedback__item input::-moz-placeholder, .feedback__item textarea::-moz-placeholder {
  font-weight: 600;
}
.feedback__item input::placeholder, .feedback__item textarea::placeholder {
  font-weight: 600;
}
.feedback__item input {
  padding: 16px;
  width: 100%;
  max-width: 100%;
  background-color: #fff;
  border-radius: 10px;
}
.feedback__item span {
  color: #fff;
  font-weight: 600;
  font-size: 30px;
}
.feedback__item textarea {
  background-color: #fff;
  padding: 16px;
  border-radius: 10px;
  max-width: 100%;
  width: 100%;
  min-width: 100%;
  max-height: 300px;
  min-height: 150px;
}
.feedback__title {
  font-size: 42px;
  margin-top: 10px;
  color: #fff;
}
.feedback__thanks {
  color: #fff;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.feedback__thanks__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  font-size: 32px;
  font-weight: 700;
}
.feedback__thanks p {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
}
@media (max-width: 425px) {
  .feedback__thanks p {
    font-size: 18px;
  }
}
@media (max-width: 425px) {
  .feedback__title {
    font-size: 30px;
  }
}
.feedback__title__wrapper {
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.feedback__title__sub {
  color: #fff;
  font-weight: 600;
  margin-top: 10px;
  background-color: rgba(250, 217, 197, 0.397);
  display: inline-block;
  padding: 10px 20px;
  border-radius: 32px;
  font-size: 24px;
}

/* Анимации появления */
.animate {
  opacity: 1;
  transform: translateY(0);
}



/* *** footer *** */


.footer {
    background-image: linear-gradient(90deg, #2f057b 0%, #6441c1 100%);
    margin-top: -100px;
    padding: 180px 0 30px 0;
  }
  .footer__politic {
    padding-top: 30px;
    margin-top: 30px;
    text-align: center;
    color: #fff;
    border-top: 1px solid #ff8f6b;
    font-weight: 500;
  }
  @media (max-width: 425px) {
    .footer__politic {
      font-size: 14px;
    }
  }
  .footer__politic span {
    color: #ff7369;
    font-weight: 700;
  }
  @media (max-width: 1024px) {
    .footer__logo {
      display: flex;
      justify-content: space-between;
      margin-bottom: 30px;
    }
  }
  @media (max-width: 630px) {
    .footer__logo {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }
  }
  .footer__logo__link {
    background-color: #fff;
    padding: 10px 20px;
    border: 1px solid #fff;
    display: inline-block;
    border-radius: 20px;
  }
  .footer__logo__social {
    margin-top: 30px;
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
  }
  @media (max-width: 630px) {
    .footer__logo__social {
      max-width: 100%;
      width: 100%;
    }
  }
  .footer__logo__social img {
    background-color: #6b62a5;
    padding: 10px;
    border-radius: 50%;
    transition: ease background-color 0.5s;
  }
  .footer__logo__social img:hover {
    background-color: #ff7268;
  }
  .footer__wrapper {
    display: flex;
    justify-content: space-between;
  }
  @media (max-width: 1024px) {
    .footer__wrapper {
      flex-direction: column;
      flex-wrap: wrap;
      margin-top: 120px;
      gap: 24px;
    }
  }
  .footer__menu__title {
    font-weight: 600;
    font-size: 20px;
    color: #fff;
  }
  @media (max-width: 1024px) {
    .footer__menu__title {
      display: flex;
      justify-content: space-between;
    }
  }
  .footer__menu__title img {
    display: none;
    transition: transform 0.3s ease;
    transform: rotate(0deg);
  }
  @media (max-width: 1024px) {
    .footer__menu__title img {
      display: inline;
      transform: rotate(-90deg);
    }
  }
  .footer__menu__list {
    margin-top: 8px;
    transition: max-height 0.5s ease;
    max-height: 100%;
    overflow: visible;
  }
  @media (max-width: 1024px) {
    .footer__menu__list {
      max-height: 0;
      overflow: hidden;
    }
  }
  .footer__menu__list__item {
    margin-top: 8px;
    font-weight: 500;
    font-size: 20px;
    color: #c9c8c8;
    transition: ease color 0.5s;
  }
  .footer__menu__list__item:hover {
    color: #ff7268;
  }
  .footer__menu__list__item__social img {
    max-width: 25px;
    position: relative;
    left: -4px;
    bottom: -5px;
  }
  @media (max-width: 1024px) {
    .footer__menu__list__item__social img {
      left: 2px;
      margin-right: 10px;
    }
  }
  
  .active {
    max-height: 260px;
  }
  
  .rotated {
    transform: rotate(90deg) !important;
  }
  
  .closed {
    transform: rotate(-90deg) !important;
  }





  /* *** header *** */


  
/* Базовые стили */
.burger-checkbox {
    position: absolute;
    visibility: hidden;
  }
  
  .burger {
    cursor: pointer;
    display: block;
    position: relative;
    border: none;
    background: transparent;
    width: 40px;
    height: 26px;
    display: none;
  }
  
  .burger::before,
  .burger::after {
    content: "";
    left: 0;
    position: absolute;
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 10px;
    background: #000;
  }
  
  .burger::before {
    top: 0;
    box-shadow: 0 11px 0 #000;
    transition: box-shadow 0.3s 0.15s, top 0.3s 0.15s, transform 0.3s;
  }
  
  .burger::after {
    bottom: 0;
    transition: bottom 0.3s 0.15s, transform 0.3s;
  }
  
  .burger-checkbox:checked + .burger::before {
    top: 11px;
    transform: rotate(45deg);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0);
    transition: box-shadow 0.15s, top 0.3s, transform 0.3s 0.15s;
  }
  
  .burger-checkbox:checked + .burger::after {
    bottom: 11px;
    transform: rotate(-45deg);
    transition: bottom 0.3s, transform 0.3s 0.15s;
  }
  
  .header {
    padding: 20px 0;
    font-size: 18px;
  }
  
  .header__button {
    display: flex;
    align-items: center;
    gap: 4px;
    border: 3px solid rgb(68, 68, 68);
    border-radius: 32px;
    padding: 8px 20px;
  }
  
  .header__button img {
    max-width: 25px;
  }
  
  .header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .header__nav {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  
  .header__nav__item {
    display: flex;
    align-items: center;
  }
  
  /* Стили для разрешения до 768px */
  @media (max-width: 1024px) {
    /* Навигация, скрытая за экраном */
    .header__nav {
      position: fixed;
      top: 0;
      left: -250px; /* Прячем за экран */
      width: 250px;
      background-color: white;
      z-index: 1002; /* Должен быть выше, чем у .overlay__burger */
      flex-direction: column;
      padding: 20px;
      box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
      transition: left 0.3s ease-in-out;
    }
    .header__wrapper {
      gap: 30px;
    }
    .header__button {
      width: 70%;
      margin: 0 auto;
      justify-content: center;
    }
    /* Когда меню активировано */
    .burger-checkbox:checked ~ .header__nav {
      left: 0; /* Показываем меню */
    }
    /* Стиль бургер-меню */
    .burger {
      background-color: white;
      display: block;
      z-index: 1003; /* Бургер выше всего */
    }
  }
  @media (max-width: 375px) {
    .header__logo {
      max-width: 189px;
    }
  }




  /* *** hero *** */


.hero {
  position: relative;
  overflow: hidden;
  background: rgb(253, 253, 253);
  background: linear-gradient(180deg, rgb(253, 253, 253) 0%, rgb(251, 242, 173) 52%, rgb(253, 253, 253) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fdfdfd",endColorstr="#fdfdfd",GradientType=1);
}
.hero .orange-block {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: orange;
  z-index: 100;
  animation: slideOutOrange 1s ease forwards;
}
.hero .purple-block {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(251, 182, 102);
  z-index: 101;
  animation: slideOutPurple 1s ease 0.5s forwards;
}
.hero .purple-block__text {
  color: #fff;
  font-size: 70px;
  text-align: center;
}
@media (max-width: 600px) {
  .hero .purple-block__text {
    font-size: 40px;
  }
}
@media (max-width: 425px) {
  .hero .purple-block__text {
    font-size: 30px;
  }
}
.hero .hero__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0 60px 0;
  gap: 20px;
  opacity: 0;
  transform: translateX(-100%);
  animation: fadeInWrapper 1s ease forwards 1.2s;
  z-index: 1;
}
@media (max-width: 700px) {
  .hero .hero__wrapper {
    padding-bottom: 0;
  }
}
.hero .hero__wrapper .hero__info {
  transform: translateX(-100%);
  animation: slideInLeft 1s ease forwards 1.2s;
}
.hero .hero__wrapper .hero__info__title {
  font-size: 55px;
  color: rgba(31, 31, 31, 0.799);
}
@media (max-width: 660px) {
  .hero .hero__wrapper .hero__info__title {
    font-size: 40px;
  }
}
@media (max-width: 425px) {
  .hero .hero__wrapper .hero__info__title {
    font-size: 30px;
  }
}
.hero .hero__wrapper .hero__info__desc {
  margin-top: 20px;
  font-size: 30px;
  color: rgba(61, 61, 61, 0.799);
}
@media (max-width: 660px) {
  .hero .hero__wrapper .hero__info__desc {
    font-size: 30px;
  }
}
@media (max-width: 425px) {
  .hero .hero__wrapper .hero__info__desc {
    font-size: 20px;
  }
}
.hero .hero__wrapper .hero__info__button {
  padding: 20px 40px;
  margin-top: 28px;
  font-size: 22px;
  border-radius: 32px;
  color: #fff;
  font-weight: 500;
  display: inline-block;
  background: linear-gradient(90deg, rgb(247, 179, 106) 0%, rgb(204, 137, 231) 46%, rgb(249, 126, 112) 100%);
  background-size: 200% 200%;
  /* Радужная обводка */
  position: relative;
  z-index: 1;
  /* Радужная обводка */
  border: 4px solid;
  animation: rainbowBorder 5s linear infinite;
}
.hero .hero__wrapper .hero__info__button__inner {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero .hero__wrapper .hero__info__button::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 36px;
  background: linear-gradient(90deg, rgb(247, 179, 106) 0%, rgb(204, 137, 231) 46%, rgb(249, 126, 112) 100%);
  background-size: 200% 200%;
  z-index: -1;
  animation: gradientBorder 4s ease-in-out infinite;
}
@keyframes gradientBorder {
  0% {
    background-position: 100% 50%;
  }
  25% {
    background-position: 50% 50%;
  }
  50% {
    background-position: 0% 50%;
  }
  75% {
    background-position: 50% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}
.hero .hero__wrapper .hero__bg {
  max-width: 576px;
  width: 100%;
  transform: translateX(100%);
  animation: slideInRight 1s ease forwards 1.2s;
}
@media (max-width: 1024px) {
  .hero .hero__wrapper .hero__bg {
    display: none;
  }
}

header {
  position: relative;
  z-index: 1;
}

@keyframes slideOutOrange {
  0% {
    left: 0;
  }
  100% {
    left: 100%;
  }
}
@keyframes slideOutPurple {
  0% {
    left: 0;
  }
  100% {
    left: 100%;
  }
}
@keyframes fadeInWrapper {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}
.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* *** partners  *** */


.abstract__bg__left {
  position: absolute;
  top: 700px;
  left: 0;
  z-index: -1;
  transition: transform 0.3s ease-in-out;
}

.abstract__bg__left__second {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.abstract__bg__right {
  position: absolute;
  top: 3600px;
  right: 0;
  z-index: -1;
}

.partner__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px; /* Добавим промежутки между элементами */
}
@media (max-width: 700px) {
  .partner {
    display: none;
  }
}

.partner__item-wrapper {
  position: relative;
  width: 100px; /* Ширина изображения */
  height: 100px; /* Высота изображения */
  overflow: hidden;
}
.partner__item-wrapper .partner__item,
.partner__item-wrapper .partner__item-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}
.partner__item-wrapper .partner__item-hover {
  opacity: 0;
  transform: translateY(100%); /* Начальная позиция hover-изображения */
}
.partner__item-wrapper:hover .partner__item {
  opacity: 0;
  transform: translateY(-100%); /* Поднимаем исходное изображение */
}
.partner__item-wrapper:hover .partner__item-hover {
  opacity: 1;
  transform: translateY(0); /* Показываем hover-изображение на его месте */
}






.process {
  margin-top: 100px;
}
.process__wrapper {
  margin-top: 80px;
  display: flex;
  justify-content: space-between;
  max-width: 1287px;
  width: 100%;
  background: url("/img/process__bg.svg");
  background-repeat: no-repeat;
  background-position: 50% 17%;
  gap: 60px 30px;
}
@media (max-width: 1024px) {
  .process__wrapper {
    flex-wrap: wrap;
    background-position: 50% 9%;
  }
}
@media (max-width: 650px) {
  .process__wrapper {
    flex-wrap: wrap;
    background-position: 50% 2%;
  }
}
.process__item {
  max-width: 272px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 1024px) {
  .process__item {
    max-width: 45%;
  }
}
@media (max-width: 650px) {
  .process__item {
    max-width: 100%;
  }
}
.process__item:hover .process__item__img__number {
  animation: bounce 1s ease infinite;
}
@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(-6px);
  }
  50% {
    transform: translateY(2px);
  }
  70% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0);
  }
}
.process__item__img {
  position: relative;

}

.process__item__img img{
  position: absolute;
  top: 33%;
  left: 32%;
}
.process__item__img_none img {
  background: linear-gradient(270deg, #ffa46b 0%, #fc836e 86.5%);
  display: inline-block;
  padding: 36px;
  border-radius: 50%;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
  border: 4px solid #fff;
}

.process__item__img_1 {
  box-shadow: 0 10px 40px rgba(255,132,105,.5);
  background: linear-gradient(90deg, #FF7369 0%, #FFB06D 100%);
  display: inline-block;
  border-radius: 50%;
  border: 4px solid #fff;
  width: 155px;
  height: 155px;
  position: relative;
}

.process__item__img_2 {
  box-shadow: 0px 4px 30px 0px rgba(0.9999999999999973, 235.99999999999997, 222.00000000000003, 0.5);
  background: linear-gradient(90deg,#40ccfc 0%,#1aecf5 100%);
  display: inline-block;
  border-radius: 50%;
  border: 4px solid #fff;
  width: 155px;
  height: 155px;
  position: relative;
}

.process__item__img_3 {
  box-shadow: 0px 4px 30px 0px #D5A8F5;
  background: linear-gradient(90deg, #9255CE 0%, #BE60FF 100%);
  display: inline-block;
  border-radius: 50%;
  border: 4px solid #fff;
  width: 155px;
  height: 155px;
  position: relative;
}

.process__item__img_4 {
  box-shadow: 0px 4px 30px 0px rgba(0, 255, 255, 0.6);
  background: linear-gradient(90deg,#40ccfc 0%,#1aecf5 100%);
  display: inline-block;
  border-radius: 50%;
  border: 4px solid #fff;
  width: 155px;
  height: 155px;
  position: relative;
}


.process__item__img__number {
  padding: 7px 16px;
  background-color: #fff;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  display: inline-block;
  font-weight: 700;
  font-size: 20px;
  color: #e67c76;
  position: absolute;
  top: -20px;
  right: 36%;
  border-radius: 50%;
}
.process__item__img__second {
  background-image: linear-gradient(90deg, #2F057B 0%, #6441C1 100%) !important;
}
.process__item__img__third {
  background: linear-gradient(270deg, #b75dfa 0%, #9f58dc 86.5%) !important;
}
.process__item__img__fourth {
  background: linear-gradient(270deg, #21e6f6 0%, #37d3fb 86.5%) !important;
}
.process__item__text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 23px;
}
.process__item__text__title {
  font-weight: 700;
  font-size: 24px;
  color: #000;
}
.process__item__text__desc {
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  color: #848685;
  background-color: #fff;
  padding: 5px;
  border-radius: 10px;
}
.process__title {
  font-size: 42px;
  margin-top: 10px;
  color: #3c3c3c;
}
.process__title__wrapper {
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Анимации появления */
.animate {
  opacity: 1;
  transform: translateY(0);
}





/* *** services *** */



.services {
  margin-top: 100px;
}
.services__title__wrapper {
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.services__title__sub {
  color: #ffc4ff;
  font-weight: 600;
  margin-top: 10px;
  background-color: rgb(133, 76, 133);
  display: inline-block;
  padding: 10px 20px;
  border-radius: 32px;
  font-size: 24px;
}
.services__wrapper {
  margin-top: 140px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 110px 30px;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.services__item {
  position: relative;
  max-width: 31%;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 4px 30px rgba(89, 100, 255, 0.1);
  padding: 30px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Для выравнивания содержимого */
  transition: color 0.3s ease;
}
@media (max-width: 1024px) {
  .services__item {
    max-width: 48%;
  }
}
@media (max-width: 800px) {
  .services__item {
    max-width: 46%;
  }
}
@media (max-width: 700px) {
  .services__item {
    max-width: 100%;
  }
}
.services__item__border {
  height: 100%;
  position: absolute;
  border-radius: 30px;
  top: 0;
  left: 0;
  width: 16px;
  background: var(--gradient-color);
  z-index: 1;
}
.services__item__img {
  position: absolute;
  top: -50px;
  padding: 20px;
  border-radius: 50%;
  border: 10px solid var(--bg-color);
  background-color: #fff;
  display: inline-block;
  z-index: 2;
}
.services__item__img img {
  max-width: 50px;
}
.services__item__title {
  margin-top: 70px;
  color: #000;
  transition: color 0.3s ease;
  z-index: 3;
  position: relative;
}
.services__item__desc {
  margin-top: 20px;
  color: #000;
  transition: color 0.3s ease;
  z-index: 3;
  position: relative;
}
.services__item__button {
  margin-top: 20px;
  background: var(--bg-color);
  border: 2px solid #fff;
  padding: 8px 16px;
  font-size: 20px;
  border-radius: 10px;
  color: #fff;
  font-weight: 500;
  opacity: 0; /* Изначально скрываем кнопку */
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 1;
  align-self: flex-start; /* Помещаем кнопку внизу блока */
}
.services__item:hover .services__item__button {
  opacity: 1; /* Показ кнопки при наведении */
}
.services__item:hover .services__item__title,
.services__item:hover .services__item__desc {
  color: #fff;
}
.services__item:hover .services__item__img img {
  animation: pulse 1s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.services__item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-color);
  z-index: 0;
  transition: width 0.5s ease;
  border-radius: 10px;
}
.services__item:hover::after {
  width: 100%;
}
.services__item:nth-of-type(1) {
  --gradient-color: linear-gradient(180deg, #FF7369 0%, #FFB06D 100%);
  --bg-color: #FFB06D;
}
.services__item:nth-of-type(2) {
  --gradient-color: linear-gradient(180deg, #6441C1 0%, #2F057B 100%);
  --bg-color: #2F057B;
}
.services__item:nth-of-type(3) {
  --gradient-color: linear-gradient(180deg, #1AECF5 0%, #40CCFC 100%);
  --bg-color: #40CCFC;
}
.services__item:nth-of-type(4) {
  --gradient-color: linear-gradient(180deg, #BE60FF 0%, #9255CE 100%);
  --bg-color: #9255CE;
}
.services__item:nth-of-type(5) {
  --gradient-color: linear-gradient(180deg, #15803d 0%, #48c78e 100%);
  --bg-color: #48c78e;
}
.services__item:nth-of-type(6) {
  --gradient-color: linear-gradient(180deg, #fb8c00 0%, #ffa726 100%);
  --bg-color: #ffa726;
}
.services .animate {
  opacity: 1;
  transform: translateY(0);
}






/* showcase */



.showcase {
  margin-top: 80px;
  /* Анимации появления */
}
.showcase .hidden {
  display: none;
}
.showcase__nav {
  text-align: right;
  margin-top: 60px;
}
@media (max-width: 520px) {
  .showcase__nav {
    display: flex;
    justify-content: space-between;
  }
}
.showcase__nav__button {
  cursor: pointer;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  border: 1px solid #ccc;
  margin: 0 5px;
  font-weight: 600;
  transition: background-color 0.2s ease;
  border-radius: 32px;
  text-align: center;
  display: inline-block;
  min-width: 144px;
}
@media (max-width: 520px) {
  .showcase__nav__button {
    min-width: 100px;
    font-size: 13px;
    padding: 10px;
  }
}
@media (max-width: 400px) {
  .showcase__nav__button {
    min-width: auto;
  }
}
.showcase__nav__button.active, .showcase__nav__button:hover {
  color: #0b8120;
  border: 1px solid rgb(106, 231, 73);
  background-color: rgb(106, 231, 73);
}
.showcase__title {
  font-size: 42px;
  margin-top: 10px;
  color: #3c3c3c;
}
.showcase__title__wrapper {
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.showcase__title__sub {
  color: #f8fff9;
  font-weight: 600;
  margin-top: 10px;
  background-color: rgb(0, 200, 200);
  display: inline-block;
  padding: 10px 20px;
  border-radius: 32px;
  font-size: 24px;
}

.showcase__wrapper {
  margin-top: 100px;
  display: flex;
  justify-content: space-between;
  gap: 60px 30px;
  flex-wrap: wrap;
  padding-bottom: 100px;
}
.showcase__item {
  max-width: 31%;
  width: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
@media (max-width: 950px) {
  .showcase__item {
    max-width: 47%;
  }
}
@media (max-width: 650px) {
  .showcase__item {
    max-width: 100%;
  }
}
.showcase__item__img {
  height: 600px;
  overflow: hidden;
  position: relative;
}
.showcase__item__img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: transform 15s ease;
  will-change: transform;
}
.showcase__item__img:hover img {
  transform: translateY(-70%);
}
.showcase__item__img__button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, rgb(247, 179, 106) 0%, rgb(249, 126, 112) 100%);
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-size: 20px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-weight: 600;
}
@media (max-width: 1140px) {
  .showcase__item__img__button {
    font-size: 15px;
  }
}
.showcase__item:hover .showcase__item__img__button {
  opacity: 1;
}
.showcase__item__title {
  text-align: center;
  margin-top: 10px;
  font-size: 18px;
  color: #333;
}
.showcase .animate {
  opacity: 1;
  transform: translateY(0);
}


/* stack */

.stack {
  margin-top: 140px;
}
.stack__wrapper {
  margin-top: 100px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 840px) {
  .stack__wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }
}
.stack__img__left {
  max-width: 186px;
  max-height: 406px;
  width: 100%;
  position: relative;
}
@media (max-width: 840px) {
  .stack__img__left {
    max-width: 90%;
    display: flex;
    justify-content: space-between;
  }
}
@media (max-width: 540px) {
  .stack__img__left {
    max-width: 30%;
    flex-direction: column;
    gap: 10px;
  }
}
.stack__img__left__css {
  position: absolute;
  top: 0;
  right: 10px;
}
@media (max-width: 840px) {
  .stack__img__left__css {
    position: static;
  }
}
.stack__img__left__java {
  position: absolute;
  top: 156px;
  left: 0;
}
@media (max-width: 840px) {
  .stack__img__left__java {
    position: static;
  }
}
.stack__img__left__figma {
  position: absolute;
  bottom: 0;
  right: 0;
}
@media (max-width: 840px) {
  .stack__img__left__figma {
    position: static;
  }
}
.stack__img__right {
  position: relative;
  max-width: 162px;
  max-height: 406px;
  width: 100%;
}
@media (max-width: 840px) {
  .stack__img__right {
    max-width: 90%;
    display: flex;
    justify-content: space-between;
  }
}
@media (max-width: 540px) {
  .stack__img__right {
    max-width: 30%;
    flex-direction: column;
    gap: 10px;
  }
}
.stack__img__right__python {
  position: absolute;
  left: 0;
  top: 0;
}
@media (max-width: 840px) {
  .stack__img__right__python {
    position: static;
  }
}
.stack__img__right__react {
  position: absolute;
  right: 0;
  top: 159px;
}
@media (max-width: 840px) {
  .stack__img__right__react {
    position: static;
  }
}
.stack__img__right__mysql {
  position: absolute;
  bottom: 0;
  left: 0;
}
@media (max-width: 840px) {
  .stack__img__right__mysql {
    position: static;
  }
}
.stack__info {
  text-align: center;
}
.stack__info__logo {
  max-width: 103px;
  max-height: 103px;
}
.stack__info__title {
  max-width: 524px;
  font-weight: 600;
  font-size: 24px;
  margin: 0 auto;
  margin-top: 57px;
  text-align: center;
}
@media (max-width: 840px) {
  .stack__info__title {
    max-width: 90%;
  }
}
@media (max-width: 540px) {
  .stack__info__title {
    margin-top: 30px;
  }
}
@media (max-width: 425px) {
  .stack__info__title {
    font-size: 19px;
  }
}
.stack__info__title span {
  text-decoration: underline;
}
.stack__info__desc {
  margin-top: 42px;
  max-width: 661px;
  font-weight: 500;
  font-size: 20px;
  text-align: center;
  color: #7b7b7b;
}
@media (max-width: 840px) {
  .stack__info__desc {
    max-width: 100%;
  }
}
@media (max-width: 540px) {
  .stack__info__desc {
    margin-top: 26px;
  }
}
@media (max-width: 425px) {
  .stack__info__desc {
    font-size: 17px;
  }
}
@media (max-width: 840px) {
  .stack__info {
    max-width: 100%;
    width: 100%;
    order: -2;
  }
}

/* *** service modal *** */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
}
.modal-overlay[hidden] {
  display: none;
}
.modal-box {
  --gradient-color: linear-gradient(180deg, #6441c1 0%, #2f057b 100%);
  position: relative;
  background: #fff;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  padding: 40px 30px 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.modal-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: var(--gradient-color);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f2f2f2;
  color: #000;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.modal-close:hover {
  background: #e2e2e2;
}
.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 6px solid #f7f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.modal-icon img {
  max-width: 32px;
}
.modal-title {
  color: #000;
  margin-bottom: 12px;
}
.modal-desc {
  color: #4a4a4a;
  line-height: 1.5;
}
.modal-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modal-form__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.modal-form__item span {
  color: #4a4a4a;
  font-weight: 600;
  font-size: 14px;
}
.modal-form__item input,
.modal-form__item textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e2e2e2;
  background: #f7f7fb;
  color: #000;
  font-size: 15px;
  font-family: inherit;
}
.modal-form__item textarea {
  min-height: 90px;
  max-height: 200px;
  resize: vertical;
}
.modal-form__submit {
  margin-top: 6px;
  background-image: linear-gradient(90deg, #5e3b9e 0%, #663ed4 100%);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border-radius: 10px;
  padding: 14px;
}
.modal-thanks {
  margin-top: 20px;
  color: #2f057b;
  font-weight: 500;
  line-height: 1.5;
}
@media (max-width: 480px) {
  .modal-box {
    padding: 32px 20px 24px;
  }
}

/* *** portfolio lightbox *** */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
}
.lightbox-overlay[hidden] {
  display: none;
}
.lightbox-box {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-image {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  object-fit: contain;
}
.lightbox-caption {
  margin-top: 14px;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.lightbox-close:hover {
  background: #e2e2e2;
}
@media (max-width: 480px) {
  .lightbox-close {
    top: 10px;
    right: 10px;
  }
}