body {
    font-family: "Manrope", sans-serif;
    font-size: 22px;
    line-height: 1.5;
    padding: 0 15px;
    font-weight: 400;
    padding: 0;
    margin: 0;
    color: #fff;
    background: #1B1C1E;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

body::after {
    content: '';
    background: #1B1C1E;
    background-image: url('img/bg-2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right top;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1800px;
}

section {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 15px;
}

h2 {
    font-size: 45px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 15px;
    letter-spacing: -0.02em;
}

h4 {
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 600;
    margin: 0 0 10px;
}

p {
    margin: 10px 0 0;
    opacity: .9;
}

ul {
    list-style-type: none;
}
ul li {
    position: relative;
}
ul li::after {
    content: '';
    position: absolute;
    background-image: url('img/fire.svg');
    left: -30px;
    width: 20px;
    height: 20px;
    top: 6px;
    background-size: contain;
}

.th-ico {
    display: flex;
    width: 20px;
    height: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('img/heart.svg');
    background-size: contain;
    margin-right: 12px;
}
.th-ico.th-ico__tg {
    background-image: url('img/tg.svg');
}
.th-ico.th-ico__wa {
    background-image: url('img/wa.svg');
}
.th-ico.th-ico__phone {
    background-image: url('img/phone.svg');
}
.th-ico.th-ico__user {
    background-image: url('img/user.svg');
}
.th-ico.th-ico__portfolio {
    background-image: url('img/portfolio.svg');
}
.th-ico.th-ico__portfolio {
    background-image: url('img/portfolio.svg');
}
.th-ico.th-ico__phone-footer {
    background-image: url('img/phone-footer.svg');
}
.th-ico.th-ico__phone-footer2 {
    background-image: url('img/phone-footer2.svg');
}
.th-ico.th-ico__email {
    background-image: url('img/email.svg');
}

.th-btn {
    background: #FFFFFF0F;
    padding: 12px 28px 14px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: max-content;
    color: #fff;
    text-decoration: none;
    max-width: 100%;
    transition: .25s ease all;
}
.th-btn:hover {
    background: #000;
}

.th-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin: 100px 0 0; */
}
.th-head-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.05em;
}
.th-head-logo img {
    display: block;
    margin-top: 5px;
    width: 32px;
}
.th-head a {
    font-weight: 600;
    letter-spacing: -0.02em;
}
.th-head-logo span {
    /* margin-top: -5px; */
}

.th-banner {
    display: flex;
    padding-top: 100px;
}
.th-banner p {
    opacity: 1;
}
.th-banner h1 {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 14px 0 20px;
}
.th-banner-content {
    padding-right: 30px;
    flex: 0 0 60%;
}
.th-banner-img {
    width: 100%;
}
.th-banner-img img {
    display: block;
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}
.th-banner-btn-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.th-item {
    margin-top: 65px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255,0.1);
}
.th-item-with-sub h2 {
    margin: 0;
}
.th-item-sub {
    padding-top: 30px;
}
.th-item-sub h4 {
    padding-bottom: 6px;
}

.th-swiper-button {
    width: 36px;
    height: 36px;
    color: #fff;
    background: #FF7C2B;
    /* background: transparent;
    color: #FF7C2B; */
    border-radius: 100%;
    transition: .25s ease all;
}
@media (min-width:1200px) {
    .th-swiper-button:hover {
        opacity: .8;
    }
}
.th-swiper-button::after {
    font-size: 16px;
}
.th-swiper-pagination .swiper-pagination-bullet {
    background: #fff;
    transition: .25s ease all;
}
.th-swiper-pagination .swiper-pagination-bullet:hover {
    opacity: .7;
}
.th-swiper-pagination .swiper-pagination-bullet-active {
    background: #FF7C2B;
    opacity: 1 !important;
}

.th-portfolio-slider {
    /* padding-bottom: 20px; */
    position: relative;
    overflow: hidden;
}
.swiper-wrapper {
    display: flex;
}
.th-portfolio-slider .th-swiper-pagination {
    display: flex;
    justify-content: center;
    bottom: 0;
}
.th-portfolio-slider .th-swiper-button {
    /* margin: 0; */
    margin-top: -15px;
    /* top: 30px; */
}
/* .th-portfolio-slider .swiper-button-prev {
    right: 42px;
    left: auto;
}
.th-portfolio-slider .swiper-button-next {
    right: 0;
} */
.th-portfolio-item {
    width: 12.5%;
}
.th-portfolio-item a {
    position: relative;
    outline: none;
}
.th-portfolio-item a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    border-radius: 10px;
    top: 0;
    background-color: #FF7C2B;
    opacity: 0;
    transition: .25s ease all;
    
}
.th-portfolio-item a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: 42px;
    left: 0;
    top: 0;
    z-index: 1;
    background-image: url('img/search.svg');
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
}
.th-portfolio-item a:hover::after {
    opacity: .6;
}
.th-portfolio-item a:hover::before {
    opacity: 1;
}
.th-portfolio-item img {
    width: 100%;
    height: 240px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

.th-item-btn-wrap {
    margin-top: 25px;
    display: flex;
    column-gap: 10px;
    flex-wrap: wrap;
}

.th-footer {
    margin-top: 260px;
    padding-bottom: 60px;
}

.th-footer p {
    opacity: .5;
}

@media (max-width:1600px) {
    body::after {
        background-size: 1920px;
    }
}

@media (max-width:1366px) {
    .th-banner {
        padding-top: 70px;
    }
}

@media (max-width:1199.98px) {
    body {
        font-size: 18px;
    }
    
    ul li::after {
        top: 4px;
    }
    
    p {
        margin: 8px 0 0;
    }

    section {
        max-width: 640px;
    }

    .th-btn {
        padding: 11px 20px 12px;
        font-size: 16px;
    }
    .th-btn .th-ico {
        margin-right: 6px;
    }

    .th-head {
        padding-bottom: 20px;
    }
    .th-head-logo {
        font-size: 24px;
        gap: 12px;
    }
    .th-head-logo img {
        width: 26px;
    }

    .th-banner {
        padding-top: 24px;
        flex-wrap: wrap;
    }
    .th-banner h1 {
        margin: 18px 0 12px;
        font-size: 48px;
    }
    .th-banner-content {
        padding: 0;
        flex: 0 0 100%;
    }
    .th-banner-btn-wrap {
        margin-top: 20px;
    }
    .th-banner-img {
        margin-top: 24px;
    }
    .th-banner-img img {
        max-height: 300px;
    }

    .th-item {
        padding-top: 55px;
    }

    .th-portfolio-item img {
        height: 190px;
    }
}

@media (max-width:959.98px) {
    body::after {
        background-size: 1000px;
        background-position: center top;
    }
}

@media (max-width:639.98px) {
    body {
        font-size: 17px;
    }

    ul li::after {
        width: 18px;
        height: 18px;
        left: -26px;
    }

    section {
        max-width: 380px;
    }

    h2 {
        font-size: 32px;
        margin-bottom: 10px;
    }

    h4 {
        font-size: 22px;
    }

    h2 br, h1 br {
        display: none;
    }

    .th-head-logo {
        font-size: 22px;
        gap: 10px;
    }
    .th-head-logo img {
        width: 20px;
    }

    .th-banner h1 {
        font-size: 36px;
    }
    .th-banner-btn-wrap {
        gap: 5px;
    }
    .th-banner-btn-wrap .th-btn {
        width: 100%;
    }
    .th-banner-img img {
        max-height: 220px;
    }

    .th-item {
        margin-top: 50px;
        padding-top: 40px;
    }

    .th-portfolio-item img {
        height: 170px;
    }
    .th-portfolio-item {
        width: 140px;
    }
    .th-item-sub h4 {
        padding-bottom: 2px;
    }

    .th-swiper-button.swiper-button-prev {
        display: none;
    }

    .th-item-btn-wrap {
        gap: 6px;
    }
    .th-item-btn-wrap .th-btn {
        width: 100%;
    }

    #contacts h4 {
        text-align: center;
    }
}

@media (max-width:359.98px) {
    .th-head-logo {
        font-size: 18px;
    }
    .th-head .th-btn {
        padding: 8px 12px 9px;
    }
}