@import url('https://fonts.googleapis.com/css2?family=Cardo:ital@1&display=swap');

.company_wrapper>img {
    max-height: 305px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 30px
}

.company_wrapper-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px
}

.company_wrapper-item h2 {
    font-weight: 400;
    font-size: 64px;
    color: #000;
    margin: 0 0 40px 0
}

.company_wrapper-item p {
    font-weight: 400;
    font-size: 14px;
    line-height: 171%;
    color: #000;
    margin-bottom: 40px
}

.company_wrapper-item>img {
    width: 100%
}

.company_wrapper-item ul {
    list-style: none
}

.company_wrapper-item ul li {
    padding: 30px 0;
    margin: 0;
    border-bottom: 1px solid #d5d5d5
}

.company_wrapper-item ul li::before {
    display: none
}

.company_wrapper-item ul li span {
    font-weight: 500;
    font-size: 24px;
    line-height: 100%;
    color: #000;
    margin-bottom: 20px;
    display: block
}

.company_wrapper-item ul li p {
    font-weight: 400;
    font-size: 14px;
    line-height: 171%;
    color: #000;
    margin: 0
}

.intec-template .intec-template-layout-content {
    background: transparent !important
}

.menu-columns.intec-grid.intec-grid-wrap .menu-column:nth-child(2) .menu-column-item:last-child {
    display: none;
}

.widget-menu-info .widget-menu-item-has-children {
    position: relative;
}

.widget-menu-info .widget-submenu-items {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 200px;
}

.widget-menu-info .widget-menu-item-has-children:hover>.widget-submenu-items {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
}

.widget-menu-info .widget-submenu-item {
    padding: 10px 15px;
    white-space: nowrap;
    text-align: left;
    width: 100%;
}

.widget-menu-info .widget-submenu-item:hover {
    background: #f5f5f5;
}

.widget-menu-info .widget-submenu-item-has-children {
    position: relative;
}

.widget-menu-info .widget-submenu-item-has-children>.widget-submenu-items {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 200px;
}

.widget-menu-info .widget-submenu-item-has-children:hover>.widget-submenu-items {
    display: flex;
    flex-direction: column;
}

@media screen and (max-width:992px) {
    .company_wrapper-item h2 {
        font-size: 40px
    }

    .company_wrapper>img {
        max-height: 235px
    }

    .company_wrapper-items {
        grid-template-columns: repeat(1, 1fr)
    }
}

@media screen and (max-width:720px) {
    .intec-template .intec-template-layout-columns {
        margin: 0 !important
    }

    .intec-template .intec-template-layout-column.intec-template-layout-column-adaptive {
        padding: 0
    }
}

.number-block {
    font-family: Cardo;
    font-style: italic;
    font-weight: normal;
    font-size: clamp(16px, 3vw, 28px);
    line-height: clamp(22px, 3vw, 38px);
    color: #000000;
    position: relative;
    left: 2px;
    top: 2px
}

.widget-container-custom {
    max-width: 1096px;
    width: 100%
}

.flex-container {
    display: flex;
    justify-content: space-between
}

.main-title {
    font-weight: normal;
    font-size: clamp(26px, 4vw, 65px);
    line-height: clamp(26px, 4vw, 65px);
    color: #000000
}

.widget-menu-info .widget-submenu-items .widget-submenu-item-text {
    color: #4e5364;
    text-decoration: none;
}

.widget-menu-info .widget-submenu-items .widget-submenu-item-text:hover {
    text-decoration: underline;
}

@media all and (max-width:1400px) {
    .c-header.c-header-template-1 .widget-menu.widget-menu-info .widget-menu-item-text {
        font-size: 14px !important;
    }
}

@media all and (max-width:1260px) {
    .c-header.c-header-template-1 .widget-menu.widget-menu-info .widget-menu-items {
        display: none!important;
    }
}

@media all and (max-width:1200px) {
    .flex-container {
        flex-wrap: wrap
    }

    .number-block {
        left: 0;
        top: 0;
        flex: 0 0 100%;
        margin: 0 0 24px 0
    }

    .widget-container-custom {
        max-width: none
    }
}

.c-footer.c-footer-template-1 .widget-view .menu-column-items {
    max-height: 240px;
    overflow: hidden;
}

.c-footer.c-footer-template-1 .widget-view .menu-column-item {
    margin-bottom: 8px;
}

/* ==========================================================================
   Возврат текстового меню в шапке (было погашено display:none в настройках
   виджета конструктора)
   ========================================================================== */

.c-header.c-header-template-1 .widget-view.widget-view-desktop .widget-container-contacts-wrap > .widget-panel-item {
    display: block !important;
}

/* Ужимаем логотип и меню, чтобы шапка помещалась в контейнер */
.c-header.c-header-template-1 .widget-view.widget-view-desktop .widget-container-logotype-wrap {
    max-width: 165px;
}

.c-header.c-header-template-1 .widget-view.widget-view-desktop .widget-container-logotype {
    max-width: 150px;
}

.c-header.c-header-template-1 .widget-menu.widget-menu-info .widget-menu-item-text {
    font-size: 14px !important;
}

.c-header.c-header-template-1 .widget-menu.widget-menu-info .widget-menu-items {
    gap: 14px !important;
}

/* Блок контактов и поиск выравниваем по центру ряда */
.c-header.c-header-template-1 .widget-view.widget-view-desktop .widget-container-contacts-wrap {
    align-items: center;
}

/* ==========================================================================
   Поиск в шапке (иконка, раскрывающая строку) + перенос соцсетей в бургер
   ========================================================================== */

.t3-search-icon {
    position: relative;
    display: flex;
    align-items: center;
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    flex: 0 0 auto;
    transition: width 0.18s ease;
}

/* Поиск между меню и блоком с телефоном/соцсетями */
.t3-search-icon-desktop {
    margin: 0 14px;
}

.t3-search-icon-btn {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
}

.c-header:not([data-transparent="true"]) .t3-search-icon-btn {
    border-color: rgba(78, 83, 100, 0.35);
    background: #fff;
    color: #4e5364;
}

.t3-search-icon-btn:hover {
    border-color: #fefe00;
    color: #fefe00;
}

.c-header:not([data-transparent="true"]) .t3-search-icon-btn:hover {
    border-color: #4e5364;
    color: #22232a;
}

.t3-search-icon-input {
    width: 0;
    min-width: 0;
    height: 30px;
    padding: 0;
    margin: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 12px;
    opacity: 0;
    transition: width 0.18s ease, opacity 0.18s ease, padding 0.18s ease;
}

.c-header:not([data-transparent="true"]) .t3-search-icon-input {
    color: #4e5364;
}

.t3-search-icon:hover,
.t3-search-icon:focus-within,
.t3-search-icon.is-open {
    width: 160px;
}

.t3-search-icon:hover .t3-search-icon-input,
.t3-search-icon:focus-within .t3-search-icon-input,
.t3-search-icon.is-open .t3-search-icon-input {
    width: 130px;
    opacity: 1;
    padding: 0 0 0 8px;
}

/* Иконка поиска рядом с логотипом (мобильная версия) */
.t3-search-icon-mobile {
    display: none;
    margin: 0 0 0 12px;
}

.t3-search-icon-mobile .t3-search-icon-btn,
.t3-search-icon-mobile .t3-search-icon-input {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.65);
}

.c-header:not([data-transparent="true"]) .t3-search-icon-mobile .t3-search-icon-btn {
    border-color: rgba(78, 83, 100, 0.35);
    background: #fff;
    color: #4e5364;
}

.c-header:not([data-transparent="true"]) .t3-search-icon-mobile .t3-search-icon-input {
    color: #4e5364;
}

/* Соцсети рядом с логотипом в мобильной шапке (виден только в мобильном виде) */
.t3-mobile-social {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-left: 12px;
    flex: 0 0 auto;
}

.t3-mobile-social .widget-panel-social-item {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

/* Цветные иконки из спрайта шаблона (видны на любом фоне) */
.c-header .t3-mobile-social .widget-panel-social-item-icon {
    width: 20px;
    height: 20px;
}

.t3-mobile-social-max {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.c-header:not([data-transparent="true"]) .t3-mobile-social .widget-panel-social-item-icon,
.c-header:not([data-transparent="true"]) .t3-mobile-social-max {
    color: #4e5364;
}

/* ==========================================================================
   Закреплённая (выезжающая) шапка при скролле
   ========================================================================== */

.t3-topbar {
    position: fixed;
    top: -140px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.1);
    transition: top 0.28s ease;
    will-change: top;
}

.t3-topbar.is-visible {
    top: 0;
}

.t3-topbar-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 20px;
    box-sizing: border-box;
}

.t3-topbar-logo {
    flex: 0 0 auto;
    max-width: 150px;
    display: flex;
    align-items: center;
}

.t3-topbar-logo img,
.t3-topbar-logo svg,
.t3-topbar-logo picture {
    max-width: 100%;
    height: auto;
}

/* Тёмный логотип на белом фоне (буквы "ТАТУ" в исходнике белые) */
.t3-topbar-logo svg .word {
    fill: #191b25;
}

/* Меню в закреплённой шапке — тёмный текст на белом */
.t3-topbar-menu {
    flex: 1 1 auto;
}

.t3-topbar-menu .widget-menu-items {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.t3-topbar-menu .widget-menu-item-text {
    color: #191b25 !important;
    font-size: 14px !important;
    text-decoration: none;
    white-space: nowrap;
}

.t3-topbar-menu .widget-menu-item-text:hover {
    color: #0069ff !important;
}

.t3-topbar-menu .widget-submenu-items {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.t3-topbar-phone {
    flex: 0 0 auto;
    color: #191b25 !important;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    white-space: nowrap;
}

.t3-topbar-burger {
    display: none;
    flex: 0 0 auto;
    width: 30px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.t3-topbar-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #191b25;
    border-radius: 2px;
}

/* Шапка по макету Figma. Доступна только с параметром ?prog-test. */
.t3-figma-test .c-header > .widget-content > .widget-view,
.t3-figma-test .c-header > .widget-content > .widget-overlay {
    display: none;
}

.t3-figma-header {
    display: none;
    height: 101px;
    box-sizing: border-box;
    border-bottom: 1px solid #d5d5d5;
    background: #fff;
    font-family: Roboto, Arial, sans-serif;
}

.t3-figma-test .t3-figma-header {
    display: block;
}

.t3-figma-header__inner {
    display: flex;
    align-items: center;
    width: 1220px;
    height: 100%;
    margin: 0 auto;
}

.t3-figma-header__logo {
    display: block;
    width: 172px;
    height: 43px;
    flex: 0 0 172px;
}

.t3-figma-header__logo img,
.t3-figma-header__socials img,
.t3-figma-header__search img {
    display: block;
    width: 100%;
    height: 100%;
}

.t3-figma-header__logo-mobile,
.t3-figma-header__logo-home,
.t3-figma-header__icon-mobile,
.t3-figma-header__icon-home {
    display: none !important;
}

.t3-figma-header__nav {
    display: flex;
    justify-content: space-between;
    width: 598px;
    margin-left: 23px;
}

.t3-figma-header__nav a,
.t3-figma-header__nav span {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    text-decoration: none;
    white-space: nowrap;
}

.t3-figma-header__contacts {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: 23px;
}

.t3-figma-header__socials {
    display: flex;
    justify-content: space-between;
    width: 113px;
}

.t3-figma-header__socials a,
.t3-figma-header__search {
    display: block;
    width: 24px;
    height: 24px;
}

.t3-figma-header__phone {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 147px;
}

.t3-figma-header__phone a {
    color: #000;
    font-size: 18px;
    font-weight: 700;
    line-height: 21px;
    text-decoration: none;
    white-space: nowrap;
}

.t3-figma-header__phone span {
    color: #6e6e6e;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    white-space: nowrap;
}

.t3-figma-header__search {
    margin-left: 23px;
}

.t3-figma-header__burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 43px;
    height: 14px;
    margin-left: 23px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.t3-figma-header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
}

.t3-figma-search {
    position: absolute;
    z-index: 112;
    top: 101px;
    right: calc((100% - 1220px) / 2);
    display: none;
    width: 560px;
    box-sizing: border-box;
    padding: 20px;
    background: #fff;
    font-family: Roboto, Arial, sans-serif;
}

.t3-figma-search.is-open {
    display: block;
}

.t3-figma-search__input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid #d5d5d5;
    border-radius: 0;
    outline: 0;
    color: #000;
    background: transparent;
    font: 400 18px/21px Roboto, Arial, sans-serif;
}

.t3-figma-search__input::placeholder {
    color: #000;
    opacity: 1;
}

.t3-figma-search__results {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.t3-figma-search__result {
    padding: 10px 0;
    color: #000;
    font-size: 14px;
    font-weight: 300;
    line-height: 16px;
    text-decoration: none;
}

.t3-figma-search__result mark {
    padding: 0;
    color: inherit;
    background: transparent;
    font-weight: 500;
}

.t3-figma-search__all {
    padding: 10px 0 0;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 19px;
    text-decoration: underline;
}

.t3-figma-search__empty {
    padding: 10px 0;
    color: #6e6e6e;
    font-size: 14px;
    line-height: 16px;
}

.t3-figma-header__burger span:nth-child(2) {
    display: none;
}

.t3-figma-header--home {
    position: absolute;
    z-index: 111;
    width: 100%;
    border-bottom: 0;
    background: transparent;
}

.t3-figma-header--home .t3-figma-header__nav a,
.t3-figma-header--home .t3-figma-header__nav span,
.t3-figma-header--home .t3-figma-header__phone a {
    color: #fff;
}

.t3-figma-header--home .t3-figma-header__phone span {
    color: #858585;
}

.t3-figma-header--home .t3-figma-header__logo-desktop,
.t3-figma-header--home .t3-figma-header__icon-desktop {
    display: none !important;
}

.t3-figma-header--home .t3-figma-header__logo-home,
.t3-figma-header--home .t3-figma-header__icon-home {
    display: block !important;
}

.t3-figma-header--home .t3-figma-header__burger span {
    background: #fff;
}

/* Стартовый заголовок не должен попадать под прозрачную шапку. */
.t3-figma-test .t3-figma-header--home ~ .intec-template .c-header .widget-banner .widget-item-text {
    transform: translateY(20px);
}

.t3-figma-test .t3-figma-header--home ~ .intec-template .c-header .widget-banner .widget-item-content-body {
    height: 639px !important;
}

@media (max-width: 1260px) {
    .t3-figma-header {
        height: 56px;
        border: 0;
        background: #000;
    }

    .t3-figma-header__inner {
        justify-content: space-between;
        width: auto;
        margin: 0 15px;
    }

    .t3-figma-header__logo {
        width: 112px;
        height: 28px;
        flex-basis: 112px;
    }

    .t3-figma-header__logo-desktop,
    .t3-figma-header__icon-desktop {
        display: none !important;
    }

    .t3-figma-header__logo-mobile,
    .t3-figma-header__icon-mobile {
        display: block !important;
    }

    .t3-figma-header__nav,
    .t3-figma-header__phone {
        display: none;
    }

    .t3-figma-header__contacts {
        margin-left: auto;
    }

    .t3-figma-header__search,
    .t3-figma-header__burger {
        margin-left: 0;
    }

    .t3-figma-header__search {
        order: 1;
        margin-left: auto;
    }

    .t3-figma-header__contacts {
        order: 2;
        gap: 0;
        margin-left: 18px;
    }

    .t3-figma-header__burger {
        order: 3;
        width: 30px;
        height: 20px;
        margin-left: 18px;
    }

    .t3-figma-header__burger span {
        background: #fff;
    }

    .t3-figma-header__burger span:nth-child(2) {
        display: block;
    }

    .t3-figma-search {
        top: 56px;
        right: 0;
        width: 390px;
        max-width: 100%;
    }

    .t3-figma-test .t3-figma-header--home ~ .intec-template .c-header .widget-banner .widget-item-text {
        transform: translateY(20px);
    }

    .t3-figma-test .t3-figma-header--home ~ .intec-template .c-header .widget-banner .widget-item-content-body {
        height: 558px !important;
    }
}

/* На мобильной ширине: логотип + бургер, меню скрыто */
@media all and (max-width: 1260px) {
    .t3-topbar-menu {
        display: none;
    }

    .t3-topbar-burger {
        display: flex;
    }

    .t3-topbar-inner {
        justify-content: space-between;
        gap: 12px;
    }

    .t3-topbar-phone {
        font-size: 15px;
    }
}

@media all and (max-width: 560px) {
    .t3-topbar-phone {
        display: none;
    }
}

/* Футер по макету Figma. Доступен только с параметром ?prog-test. */
.t3-figma-footer {
    display: none;
}

.t3-figma-test .intec-template-layout-footer {
    display: none;
}

.t3-figma-test .t3-figma-footer {
    display: block;
    position: relative;
    z-index: 10002;
    min-height: 537px;
    box-sizing: border-box;
    padding: 86px 0 81px;
    background: #f5f5f5;
    color: #777e89;
    font-family: Roboto, Arial, sans-serif;
}

.t3-figma-footer__inner {
    display: grid;
    grid-template-columns: 247px 133px 177px 204px 232px;
    column-gap: 51.75px;
    width: 1200px;
    margin: 0 auto;
}

.t3-figma-footer__primary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 370px;
}

.t3-figma-footer__logo,
.t3-figma-footer__logo img {
    display: block;
    width: 204px;
    height: 51px;
}

.t3-figma-footer__search {
    display: flex;
    align-items: center;
    width: 247px;
    height: 42px;
    box-sizing: border-box;
    margin-top: 50px;
    padding: 0 15px;
    border: 1px solid #d5d5d5;
    border-radius: 2px;
    background: #fff;
}

.t3-figma-footer__search input {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: 0;
    color: #383b47;
    background: transparent;
    font: 400 13px/15px Roboto, Arial, sans-serif;
}

.t3-figma-footer__search input::placeholder {
    color: #757575;
    opacity: 1;
}

.t3-figma-footer__search button {
    display: block;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.t3-figma-footer__search button img {
    display: block;
    width: 18px;
    height: 18px;
}

.t3-figma-footer__socials {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.t3-figma-footer__socials a,
.t3-figma-footer__socials img {
    display: block;
    width: 46px;
    height: 46px;
}

.t3-figma-footer__privacy,
.t3-figma-footer__copyright,
.t3-figma-footer__column a {
    color: #777e89;
    text-decoration: none;
}

.t3-figma-footer__privacy {
    margin-top: 50px;
    font-size: 13px;
    line-height: 15px;
}

.t3-figma-footer__copyright {
    margin: auto 0 0;
    font-size: 13px;
    line-height: 15px;
}

.t3-figma-footer__column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.t3-figma-footer__column b {
    margin-bottom: 0;
    color: #383b47;
    font-size: 15px;
    font-weight: 700;
    line-height: 18px;
}

.t3-figma-footer__column a {
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    white-space: nowrap;
}

.t3-figma-footer__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.t3-figma-footer__contact {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    width: 232px;
    color: #404040;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
}

.t3-figma-footer__contact img {
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.t3-figma-footer__contact a {
    color: inherit;
    text-decoration: none;
}

.t3-figma-footer__contact:first-child a {
    color: #383b47;
    font-size: 16px;
    font-weight: 700;
    line-height: 19px;
}

.t3-figma-footer__callback {
    width: 232px;
    height: 43px;
    margin-top: 30px;
    padding: 0 25px;
    border: 0;
    border-radius: 3px;
    color: #fff;
    background: #383b47;
    font: 400 16px/19px Roboto, Arial, sans-serif;
    cursor: pointer;
}

.t3-figma-footer__legal {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    color: #404040;
    font-size: 14px;
    line-height: 16px;
}

.t3-figma-footer__legal p {
    margin: 0;
}

.t3-figma-footer__legal b {
    font-weight: 700;
}

@media (max-width: 1260px) {
    .t3-figma-test .t3-figma-footer {
        min-height: 0;
        padding: 48px 15px;
    }

    .t3-figma-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px 30px;
        width: auto;
        max-width: 700px;
    }

    .t3-figma-footer__primary {
        min-height: 0;
    }

    .t3-figma-footer__copyright {
        margin-top: 50px;
    }
}

@media (max-width: 600px) {
    .t3-figma-footer__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .t3-figma-footer__column {
        gap: 14px;
    }
}
