
@font-face {
    font-family: 'TildaSans';
    src: url('../fonts/tildasans-light.ttf');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'TildaSans';
    src: url('../fonts/tildasans-regular.ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'TildaSans';
    src: url('../fonts/tildasans-medium.ttf');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'TildaSans';
    src: url('../fonts/tildasans-semibold.ttf');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'TildaSans';
    src: url('../fonts/tildasans-bold.ttf');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'TildaSans';
    src: url('../fonts/tildasans-extrabold.ttf');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'TildaSans';
    src: url('../fonts/tildasans-black.ttf');
    font-weight: 900;
    font-style: normal;
}


body {
    font-family: 'TildaSans' !important;
}


header {
    background: #28A745;
    color: #fff;
    padding-top: 30px;
    padding-bottom: 7px;
}

.header__contacts-mail a {
    text-decoration: underline;
}
.menu-button {
    display: none;
}
.header__row {
    display: flex;
        align-items: flex-start;
    justify-content: space-between;
}
.header__left {
    display: flex;
    align-items: center;
    gap: 40px;
}
.header__logo img {
    padding-top: 10px;
    display: block;
    max-width: 330px;
}

.header__nav ul {
    display: flex;
    gap: 53px;
    background: #203832;
    padding: 9px 20px;
    border-radius: 43px;
    list-style: none;
    margin-bottom: 0;
}
.header__nav ul li a {
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.header__nav ul li a:hover {
    color: #F85B18;
}
.header-btn {
    color: #fff;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 31px;
    background: #203832;
    margin-right: 83px;
}
.header-callbak {
    color: #fff;
    font-size: 14px;
    padding: 1px 15px 1px 1px;
    border-radius: 43px;
    background: #203832;
}
.header__right {
    display: flex;
    align-items: flex-end;
    gap: 30px;
    flex-direction: column;
}
.header__right__contacts-row {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.header__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.header__contacts-title {
    font-size: 14px;
    font-weight: 400;
    color: #9f9f9f;
}
.header__contacts-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
}
.header__contacts-phone {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}
.header__contacts-phone > svg{
    position: absolute;
    left: -25px;
}
.header__contacts-phone a {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}
.header__contacts-phone a:hover {
    color: #Fff;
}
.header__contacts-mail {
    display: flex;
    position: relative;
    align-items: center;
}
.header__contacts-mail a {
    font-size: 16px;
    color: #fff;
    text-decoration: underline;
}
.header__contacts-mail a:hover {
    color: #fff;
}
.header__contacts-mail svg {
    position: absolute;
    left: -25px;
}


.header__contacts-phone a,
.header__contacts-wa a,
.header__contacts-tg a,
.header__contacts-mail a,
.header__contacts-address span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}


.header__contacts-left .header__contacts-phone a {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.header__nav-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.header-nav {
    width: 100%;
    background: #203832;
    border-radius: 38px;
    margin-top: 25px;
    display: flex;
}


.header-nav ul {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 21px 40px 21px 80px;
    width: 100%;
    justify-content: space-between;
}



.header-nav ul li a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: 0.2s;
}
.header-nav ul li a:hover {
    color: #Fff;
}

.header-nav ul li.active > a {
    color: #Fff;
}


.main-catalog__row-item {
    width: calc(25% - 23px);
    background: #F4F5F6;
    border-radius: 20px;
    padding: 25px 18px 35px;
    text-align: center;
}

.main-catalog__row-item:hover {
    text-decoration: none !important;
}
.main-catalog__row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.main-catalog__row-item__title {
    text-align: center;
    color: #000;
    font-size: 38px;
    font-weight: 500;
    line-height: 38px;
    margin-bottom: 40px;
}

.main-catalog__row-item img {
        object-fit: contain;
    height: 180px;
    width: 100%;
}
.main-catalog {
    margin-top: 60px;
}

.carousel-inner h1 {
    text-align: left;
    color: #fff;
    font-size: 60px;
    font-weight: 700;
    line-height: 61px;
}
.carousel-inner h1 span{
    color: #28A745;
}
.carousel-inner h2 {
    color: #fff;
    font-size: 30px;
    font-weight: 400;
    line-height: 31px;
}
.carousel-text {
    padding: 140px 0 70px;
}
.carousel-inner, .carousel-item {
    max-height: 460px;
}

.features-item__info {
    margin-top: 40px;
    margin-left: 40px;
}
.features-item__info-title {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: auto;
    padding: 10px 15px;
    border: 1px solid #fff;
    border-radius: 100px;
    width: fit-content;
}
.features-item__info-text {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    line-height: auto;
}

.features-item {
    display: flex;
    max-width: 870px;
    width: 100%;
    height: 420px;
    margin-bottom: 60px
}
.features-item:hover {
    text-decoration:none !important;
}
.features-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.features-item:nth-child(2), .features-item:nth-child(3) {
    max-width: 500px;
}

@media (min-width: 1460px) {
    .container {
        max-width: 1440px;
    }
}


/* АДАПТИВ для нового шаблона */
/* Планшеты и маленькие десктопы */
@media (max-width: 1024px) {
    .header__row {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .header__left {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .header__logo img {
        max-width: 260px;
        padding-top: 0;
    }
    .header__nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 25px;
        padding: 12px 20px;
        border-radius: 20px;
    }
    .header-btn {
        margin-right: 0;
    }
    .header__right {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .header__contacts,
    .header__contacts-row,
    .header__right__contacts-row {
        align-items: center;
        justify-content: center;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    header {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }

    /* Мобильное меню */
    .menu-button {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        z-index: 100;
    }
    /* CSS-гамбургер */
    .menu-button span {
        display: block;
        width: 24px;
        height: 2px;
        background: #fff;
        margin: 5px 0;
        border-radius: 2px;
        transition: 0.3s;
    }
    .menu-button.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-button.active span:nth-child(2) { opacity: 0; }
    .menu-button.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    /* Скрываем десктопное меню, показываем по клику */
    .header__nav,
    .header-nav {
        display: none;
        width: 100%;
        margin-top: 10px;
    }
    .header__nav.active,
    .header-nav.active {
        display: block;
    }
    .header__nav ul,
    .header-nav ul {
        flex-direction: column;
        padding: 15px 20px;
        border-radius: 15px;
        gap: 10px;
        justify-content: flex-start;
    }
    .header-btn,
    .header-callbak {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }
    .header__contacts-phone a { font-size: 20px; }

    /* Каталог */
    .main-catalog__row {
        flex-direction: column;
        gap: 20px;
    }
    .main-catalog__row-item {
        width: 100%;
        padding: 20px 15px 25px;
    }
    .main-catalog__row-item__title {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    .main-catalog { margin-top: 40px; }

    /* Блоки преимуществ */
    .features-row {
        flex-direction: column;
        gap: 25px;
    }
    .features-item {
        flex-direction: column;
        height: auto;
        max-width: 100%;
        margin-bottom: 25px;
    }
    .features-item:nth-child(2),
    .features-item:nth-child(3) {
        max-width: 100%;
    }
    .features-item__info {
        margin: 20px 0 0;
    }
    .features-item__info-title {
        font-size: 22px;
        padding: 8px 12px;
    }
    .features-item__info-text {
        font-size: 24px;
    }

    /* Карусель / Герой-блок */
    .carousel-inner,
    .carousel-item {
        max-height: 300px;
    }
    .carousel-text {
        padding: 50px 0 30px;
    }
    .carousel-inner h1 {
        font-size: 30px;
        line-height: 1.1;
    }
    .carousel-inner h2 {
        font-size: 18px;
        line-height: 1.3;
    }
}