/* =========================
   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,1);
  outline: none;
  transition: none !important;
}

/* =========================
   BUTTONS — все Zero Block
   мгновенная реакция без анимации
   ========================= */
.t396__elem[data-elem-type="button"] .tn-atom,
.t396__elem[data-elem-type="button"] a,
.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 {
  transition: none !important;
  transition-delay: 0s !important;
  animation: none !important;
  animation-delay: 0s !important;
}

.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"] a:hover,
.t396__elem[data-elem-type="button"] a:focus-visible,
.t396__elem[data-elem-type="button"] button:hover,
.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-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);
  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,1);
  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;
}

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

/* =========================
   uc-form
   ссылка в тексте согласия с политикой
   hover-in: мгновенно
   hover-out: плавно
   ========================= */
.uc-form .tn-form__checkbox label a,
.uc-form .tn-form__checkbox label a:visited,
.uc-form .tn-form__checkboxtext a,
.uc-form .tn-form__checkboxtext a:visited,
.uc-form .tn-form a,
.uc-form .t-form a {
  color: #ffffff !important;
  text-decoration: none !important;
  border-bottom: 0.1px solid rgba(255,255,255,.5);
  padding-bottom: 1px;
  transition: color .25s ease, border-bottom-color .25s ease;
}

.uc-form .tn-form__checkbox label a:hover,
.uc-form .tn-form__checkbox label a:focus-visible,
.uc-form .tn-form__checkboxtext a:hover,
.uc-form .tn-form__checkboxtext a:focus-visible,
.uc-form .tn-form a:hover,
.uc-form .tn-form a:focus-visible,
.uc-form .t-form a:hover,
.uc-form .t-form a:focus-visible {
  color: #ff7632 !important;
  border-bottom-color: rgba(255,118,50,1) !important;
  outline: none;
  transition: none !important;
}

/* =========================
   uc-underline-fix
   только выбранные ссылки:
   хедер / футер / нужные текстовые ссылки
   до 960px
   ========================= */

@media screen and (max-width: 960px) {

  .t396__elem.uc-underline-fix a,
  .t396__elem.uc-underline-fix .tn-atom a,
  .tn-elem.uc-underline-fix a,
  .tn-elem.uc-underline-fix .tn-atom a {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;

    text-decoration-line: underline !important;
    text-decoration-thickness: 0.1px !important;
    text-decoration-color: rgba(255,255,255,.5) !important;
    text-underline-offset: 4px !important;
    text-decoration-skip-ink: none !important;

    color: #ffffff !important;
    transition: color .25s ease, text-decoration-color .25s ease;
  }

  .t396__elem.uc-underline-fix a:hover,
  .t396__elem.uc-underline-fix a:focus-visible,
  .t396__elem.uc-underline-fix .tn-atom a:hover,
  .t396__elem.uc-underline-fix .tn-atom a:focus-visible,
  .tn-elem.uc-underline-fix a:hover,
  .tn-elem.uc-underline-fix a:focus-visible,
  .tn-elem.uc-underline-fix .tn-atom a:hover,
  .tn-elem.uc-underline-fix .tn-atom a:focus-visible {
    color: #ff7632 !important;
    text-decoration-color: rgba(255,118,50,1) !important;
    outline: none;
    transition: none !important;
  }
}

/* =========================
   uc-head
   mobile/tablet underline fix
   только хедер, до 960px
   ========================= */

@media screen and (max-width: 960px) {

  .uc-head .t396__elem[data-elem-type="text"] a,
  .uc-head .t396__elem[data-elem-type="text"] .tn-atom a,
  .uc-head .tn-elem[data-elem-type="text"] a,
  .uc-head .tn-elem[data-elem-type="text"] .tn-atom a {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;

    text-decoration-line: underline !important;
    text-decoration-thickness: 0.1px !important;
    text-decoration-color: rgba(255,255,255,.5) !important;
    text-underline-offset: 4px !important;
    text-decoration-skip-ink: none !important;

    color: #ffffff !important;
    transition: color .25s ease, text-decoration-color .25s ease;
  }

  .uc-head .t396__elem[data-elem-type="text"] a:hover,
  .uc-head .t396__elem[data-elem-type="text"] a:focus-visible,
  .uc-head .t396__elem[data-elem-type="text"] .tn-atom a:hover,
  .uc-head .t396__elem[data-elem-type="text"] .tn-atom a:focus-visible,
  .uc-head .tn-elem[data-elem-type="text"] a:hover,
  .uc-head .tn-elem[data-elem-type="text"] a:focus-visible,
  .uc-head .tn-elem[data-elem-type="text"] .tn-atom a:hover,
  .uc-head .tn-elem[data-elem-type="text"] .tn-atom a:focus-visible {
    color: #ff7632 !important;
    text-decoration-color: rgba(255,118,50,1) !important;
    border-bottom: 0 !important;
    outline: none;
    transition: none !important;
  }

  /* Логотип в хедере — без подчеркивания */
  .uc-head .t396__elem.head-brand[data-elem-type="text"] a,
  .uc-head .t396__elem.head-brand[data-elem-type="text"] .tn-atom a,
  .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,
  .uc-head .t396__elem.head-brand[data-elem-type="text"] .tn-atom a:hover,
  .uc-head .t396__elem.head-brand[data-elem-type="text"] .tn-atom a:focus-visible {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
    text-decoration: none !important;
    background-image: none !important;
  }
}