/* Стили для ссылок меню с учетом вертикального расположения */
.t453__item_link {
  position: relative;
  display: block;
  padding: 15px 20px;
  color: #ffffff !important;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  /* Компенсируем rotation контейнера */
  transform: rotate(-90deg);
  white-space: nowrap;
  overflow: hidden;
}

/* Эффект при наведении на пункт меню */
.t453__item_link:hover {
  transform: rotate(-90deg) scale(1.05);
}

/* Эффект для активного пункта меню */
.t453__item_link.t-active {
  color: #d4af37 !important;
  font-weight: 600;
}

/* Градиентная заливка слева направо при наведении */
.t453__item_link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(to right, rgba(212, 175, 55, 0.15), transparent);
  transition: width 0.3s ease;
  z-index: -1;
}

.t453__item_link:hover::before {
  width: 100%;
}

/* Полоска слева для активного пункта */
.t453__item_link.t-active::after {
  content: '';
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 70%;
  background: #d4af37;
  border-radius: 2px;
}

/* Эффект увеличения текста при наведении */
.t453__item_link:hover {
  letter-spacing: 0.5px;
}

/* Анимация появления пунктов меню при загрузке */
.t453__item {
  animation: slideInFromLeft 0.6s ease-out both;
}

.t453__item:nth-child(1) { animation-delay: 0.1s; }
.t453__item:nth-child(2) { animation-delay: 0.2s; }
.t453__item:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: rotate(90deg) translateX(-20px);
  }
  to {
    opacity: 1;
    transform: rotate(90deg) translateX(0);
  }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .t453 {
    height: 50px;
    width: 100vh;
  }
  
  .t453__item_link {
    padding: 12px 15px;
    font-size: 14px;
  }
  
  #t-footer .uc-item-footer .t-col {
    max-width: 50%;
  }
  .t1007__title {
      font-size: 14px !important;
  }
  .t1007__col.active::after {
    display:none;
  }
}

@media screen and (max-width: 960px) {
   .t1007__container {
       flex-wrap: nowrap;
       gap: 1px;
   }
    .t1007__col-wrapper {
        padding: 0;
  }
  .t1007__bgimg {
      max-width: 40px;
      max-height: 40px;
  }
  .t1007__title {
     padding: 0 10px; 
  }
  .t1066__box-img-mobile {
       display: none;
  }
  .uc-title-top {
      margin-top: -70px !important;
  }
}

/* Блок преимуществ */
.uc-service {
    margin-top: -160px;
}
.uc-title-top {
    margin-top: -110px;
}
.uc-service li {
    background: #f8f8f8;
    border-radius: 40px;
    padding: 20px 0;
}
.uc-title-top .t-container {
    background: #fff;
    border-radius: 40px 40px 0 0;
    padding: 20px 0;
}


.t1007__col {
    transition: all 0.3s ease;
}

.t1007__col:hover {
    background-color: #ECE3C9;
    transform: translateY(-2px);
}

.t1007__col.active {
    background-color: #fff;
}

.uc-service-block {
    animation: fadeIn 0.5s ease-in;
}

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

/* Стили для плавных переходов */
[class*="uc-block"] {
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
}

/* Стили для активного пункта меню */
.t1007__col.active {
    background-color: #fff9f0 !important;
    position: relative;
}

.t1007__col.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #f8de7e, #d4af37);
    border-radius: 2px;
}

.t1007__col.active .t1007__title {
    color: #d4af37 !important
    
}


/* Стили Footer */
.t460 .t-sociallinks, .t460__right_social_links {
  margin: 20px;
}