/* =========================
   LINKS — все Zero Block
   базово:
   текст #ffffff
   линия 50%
   hover: мгновенно в #ff7632
   mouseout: плавный возврат
   ========================= */
.t396__elem[data-elem-type="text"] a {
  color: #ffffff !important;
  text-decoration: none !important;
  border-bottom: 0.1px solid rgba(255,255,255,.5);
  padding-bottom: 0px;
  transition: color .2s ease, border-bottom-color .2s ease;
}

/* ИСПРАВЛЕННАЯ СКОБКА */
.t396__elem[data-elem-type="text"] a:hover,
.t396__elem[data-elem-type="text"] a:focus-visible { 
  color: #ff7632 !important;
  border-bottom-color: rgba(255,118,50,.5);
  outline: none;
  transition: none !important;
}


/* =========================
   BUTTONS — все Zero Block
   наведение мгновенно, уход 0.2 сек
   ========================= */

.t396__elem[data-elem-type="button"] .tn-atom,
.t396__elem[data-elem-type="button"] .tn-atom *,
.t396__elem[data-elem-type="button"] a,
.t396__elem[data-elem-type="button"] a *,
.t396__elem[data-elem-type="button"] button,
.t396__elem[data-elem-type="button"] button *,
.t396__elem[data-elem-type="button"] .tn-atom::before,
.t396__elem[data-elem-type="button"] .tn-atom::after,
.t396__elem[data-elem-type="button"] .tn-atom__button-text,
.t396__elem[data-elem-type="button"] .tn-atom__button-border {
  transition-property: color, background-color, border-color, opacity, transform !important;
  transition-duration: .2s !important;
  transition-timing-function: ease !important;
  transition-delay: 0s !important;
  animation-delay: 0s !important;
}

.t396__elem[data-elem-type="button"] .tn-atom:hover,
.t396__elem[data-elem-type="button"] .tn-atom:hover *,
.t396__elem[data-elem-type="button"] .tn-atom:focus-visible,
.t396__elem[data-elem-type="button"] .tn-atom:focus-visible *,
.t396__elem[data-elem-type="button"] a:hover,
.t396__elem[data-elem-type="button"] a:hover *,
.t396__elem[data-elem-type="button"] a:focus-visible,
.t396__elem[data-elem-type="button"] a:focus-visible *,
.t396__elem[data-elem-type="button"] button:hover,
.t396__elem[data-elem-type="button"] button:hover *,
.t396__elem[data-elem-type="button"] button:focus-visible,
.t396__elem[data-elem-type="button"] button:focus-visible *,
.t396__elem[data-elem-type="button"] .tn-atom:hover::before,
.t396__elem[data-elem-type="button"] .tn-atom:hover::after,
.t396__elem[data-elem-type="button"] .tn-atom:hover .tn-atom__button-text,
.t396__elem[data-elem-type="button"] .tn-atom:hover .tn-atom__button-border {
  transition-duration: 0s !important;
  transition-delay: 0s !important;
  animation-delay: 0s !important;
  outline: none;
}
/* =========================
   uc-hero
   ссылки: #703416, hover — #000000
   линия: 50% -> 100%
   hover-in: мгновенно
   hover-out: плавно
   ========================= */
.uc-hero .t396__elem[data-elem-type="text"] a {
  color: #703416 !important;
  text-decoration: none !important;
  border-bottom: 0.1px solid rgba(112,55,22,.5);
  padding-bottom: 0;
  transition: color .2s ease, border-bottom-color .2s ease;
}

.uc-hero .t396__elem[data-elem-type="text"] a:hover,
.uc-hero .t396__elem[data-elem-type="text"] a:focus-visible {
  color: #000000 !important;
  border-bottom-color: rgba(0,0,0,1);
  outline: none;
  transition: none !important;
}

/* uc-hero: кнопки без анимации */
.uc-hero .t396__elem[data-elem-type="button"] .tn-atom,
.uc-hero .t396__elem[data-elem-type="button"] a,
.uc-hero .t396__elem[data-elem-type="button"] button,
.uc-hero .t396__elem[data-elem-type="button"] .tn-atom::before,
.uc-hero .t396__elem[data-elem-type="button"] .tn-atom::after,
.uc-hero .t396__elem[data-elem-type="button"] .tn-atom:hover,
.uc-hero .t396__elem[data-elem-type="button"] .tn-atom:focus-visible,
.uc-hero .t396__elem[data-elem-type="button"] a:hover,
.uc-hero .t396__elem[data-elem-type="button"] a:focus-visible,
.uc-hero .t396__elem[data-elem-type="button"] button:hover,
.uc-hero .t396__elem[data-elem-type="button"] button:focus-visible {
  transition: none !important;
  transition-delay: 0s !important;
  animation: none !important;
  animation-delay: 0s !important;
  outline: none;
}

/* =========================
   uc-head
   по умолчанию ссылки внутри блока —
   как в общих правилах
   ========================= */
.uc-head .t396__elem[data-elem-type="text"] a {
  color: #ffffff !important;
  text-decoration: none !important;
  border-bottom: 0.1px solid rgba(255,255,255,.5) !important;
  padding-bottom: 1px;
  transition: color .25s ease, border-bottom-color .25s ease;
}

.uc-head .t396__elem[data-elem-type="text"] a:hover,
.uc-head .t396__elem[data-elem-type="text"] a:focus-visible {
  color: #ff7632 !important;
  border-bottom-color: rgba(255,118,50,.5) !important; /* Исправили на .5 и добавили !important */
  outline: none;
  transition: none !important;
}

/* Исключение: только текст "Индекс редевелопмента" */
.uc-head .t396__elem.head-brand[data-elem-type="text"] a {
  color: #ffffff !important;
  text-decoration: none !important;
  border-bottom: none !important;
  padding-bottom: 0;
  transition: color .25s ease;
}

.uc-head .t396__elem.head-brand[data-elem-type="text"] a:hover,
.uc-head .t396__elem.head-brand[data-elem-type="text"] a:focus-visible {
  color: #ff7632 !important;
  border-bottom: none !important;
  outline: none;
  transition: none !important;
}
