html {
    scroll-behavior: smooth;
}
.t396 {
    scroll-margin-top: 100px;
}
.nav_a .tn-atom{
    transition: color .2s ease !important;
}

.nav_a:hover .tn-atom{
    color:#F35F1F !important;
}

.second_a .tn-atom a{
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.second_a .tn-atom a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px; /* расстояние от текста */
    width: 100%;
    height: 1px; /* толщина линии */
    background: #FFF; /* цвет линии */

    clip-path: inset(0 100% 0 0);
    transition: clip-path .3s ease;
}

.second_a:hover .tn-atom a::after{
    clip-path: inset(0 0 0 0);
}

/* =========================
   OVERFLOW MENU
========================= */


.overflow_menu {

    overflow: hidden;

    max-height: 0;
    opacity: 0;

    pointer-events: none;

    transition:
        max-height .85s cubic-bezier(.22,1,.36,1),
        opacity .35s ease;

}



.overflow_menu.active {

    max-height: 1200px;

    opacity: 1;

    pointer-events: auto;

}



/* =========================
   MAIN MENU LINKS
   С ДВИЖЕНИЕМ
========================= */


.overflow_menu .nav_a {

    opacity: 0;

    transform: translateY(8px);

    transition:
        opacity .45s ease,
        transform .55s cubic-bezier(.22,1,.36,1);

}



.overflow_menu.active .nav_a {

    opacity: 1;

    transform: translateY(0);

}



/* =========================
   PHONE
   БЕЗ ДВИЖЕНИЯ
========================= */


.overflow_menu .second_a {

    opacity: 0;

    transform: none !important;

    transition:
        opacity .45s ease;

}



.overflow_menu.active .second_a {

    opacity: 1;

    transform: none !important;

}



/* =========================
   SOCIAL ICONS
   БЕЗ ДВИЖЕНИЯ
========================= */


.overflow_menu .tn-group__25037539011785913695630000011 {

    opacity: 0;

    transform: none !important;

    transition:
        opacity .45s ease;

}



.overflow_menu.active 
.tn-group__25037539011785913695630000011 {

    opacity: 1;

    transform: none !important;

}



/* =========================
   CURSOR
========================= */


.trigger_menu,
.overflow_menu a,
.overflow_menu .tn-atom {

    cursor: pointer;

}



/* =========================
   BURGER / CLOSE ICON
========================= */


.trigger_menu .tn-atom__button-icon {

    transition:
        opacity .2s ease,
        transform .3s cubic-bezier(.22,1,.36,1);

}



.trigger_menu.menu-open .tn-atom__button-icon {

    --icon: url("https://static.tildacdn.com/tild3163-6631-4833-b963-633135313733/Vector.svg") !important;

}



.trigger_menu .tn-atom__button-icon::before {

    transform: scale(1);

    transition:
        transform .3s cubic-bezier(.22,1,.36,1),
        opacity .2s ease;

}



.trigger_menu.menu-open .tn-atom__button-icon::before {

    transform: scale(.55);

}