.main-preview {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 250px;
    width: 100%;
    background-image: url("../../img/N/pages/textilePage/header-bg.png");
    background-position: center;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    margin-bottom: 60px;
}

.main-preview .main-preview__title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 1241px;
    width: 85%;
    margin: 0 auto;
    font-weight: 500;
    font-size: 20px;
    line-height: 32px;
    color: white;
    margin-bottom: 40px;
}

.main-preview .main-preview__title .main-preview__title-arrow {
    position: relative;
    width: 29px;
    background-image: url(../../img/N/common/arrow-decorate.svg);
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 20px;
}

@media screen and (max-width: 509px) {
    .main-preview {
        background-image: url("../../img/N/pages/blogPage/preview-adaptive.jpg");
        background-size: cover;
    }

    .main-preview .main-preview__title {
        max-width: 260px;
        font-size: 16px;
        line-height: 19px;
        margin-bottom: 33px;
    }

    .main-preview .main-preview__title .main-preview__title-arrow {
        margin: 0 9px;
    }
}

.textile-page{
    margin-bottom: 130px;
    font-size: 14px;
    line-height: 1.7;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
}

.textile-page__header{
    margin-bottom: 80px;
}

.textile-header{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.textile-header__main{
    flex: 1 1 auto;
    margin-right: 50px;
}

.textile-header__side{
    flex: 0 0 500px;
}

.textile-header__form{
    padding: 30px 50px;
    margin-bottom: 18px;
    background-color: #F4F4F4;
}

.textile-header__call{
    padding: 30px 50px;
    background-color: #F4F4F4;
}

.textile-header__title{
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 40px;
}

.textile-header__text{
    font-size: 14px;
    line-height: 2;
    margin-bottom: 30px;
}

.textile-header__text > *:not(:last-child){
    margin-bottom: 15px;
}

.textile-header__text blockquote{
    display: block;
    padding-left: 30px;
    margin-left: 17px;
    border-left: 3px solid #CDDDE3;
    font-style: italic;
    color: #00516A;
}

.textile-header__video{
    position: relative;
    width: 87%;
}

.textile-header__video::before{
    content: '';
    display: block;
    width: 100%;
    padding-top: 56.66%;
}

.textile-header__video_image{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.textile-header__video_btn{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.textile-header__phone{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 6px 0;
}

.textile-header__phone_link{
    display: block;
    color: inherit;
    text-decoration: none;
    font-weight: 400;
    font-size: 26px;
    margin-right: 16px;
}
.textile-header__phone_btn{
    border: 1px solid #CDDDE3;
    padding: 4px 16px;
    line-height: 24px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 10px;
    text-align: center;
    letter-spacing: 0.1em;
    cursor: pointer;
}

.textile-header__phone_btn:hover{
    background-color: #CDDDE3;
    /*color: #fff;*/
}

.textile-page h2{
    font-weight: 400;
    font-size: 28px;
    line-height: 1.3;
    margin: 0 0 30px 0;
}

.textile-page__listing{
    margin-bottom: 100px;
}

.textile-listing__title{
    margin-bottom: 15px;
}

.textile-listing__text{
    width: 700px;
    max-width: 100%;
    margin-bottom: 30px;
}

.textile-listing__list{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 40px 24px;
}

.textile-listing__item{
    display: block;
    flex: 0 0 calc(25% - 3 * 24px / 4);
}

.textile-listing__item_preview{
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 14px;
}

.textile-listing__item_preview .image-background{
    transition: 1s;
}

.textile-listing__item:hover .textile-listing__item_preview .image-background{
    transform: scale(1.2);
}

.textile-listing__item:hover .textile-listing__item_title{
    text-decoration: underline;
}

.textile-listing__item_title{
    width: 100%;
    text-align: center;
}

.textile-listing__item_preview::before{
    content: '';
    display: block;
    padding-top: 62%;
}

.textile-page__text{
    margin-bottom: 80px;
}

.textile-text > *{
    margin: 0 0 30px 0;
}

.textile-text ul{
    column-count: 2;
}

.textile-text ul li,
.textile-header__text ul li{
    position: relative;
    padding-left: 10px;
    padding-right: 20px;
}

.textile-text ul li::before,
.textile-header__text ul li::before{
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    left: 2px;
    top: 12px;
    /*transform: translateY(-50%);*/
    background-color: #000;
}

.textile-page__blog{
    margin-bottom: 90px;
}

.textile-blog__item{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 60px;
    padding: 50px 0;
}

.textile-blog__item{
    border-top: 1px solid #CDDDE3;
}

.textile-blog__item:last-child{
    border-bottom: 1px solid #CDDDE3;
}

.textile-blog__preview{
    flex: 0 0 400px;
    position: relative;
}

.textile-blog__preview::before{
    content: '';
    display: block;
    padding-top: 62%;
}

.textile-blog__info{
    flex: 0 1 580px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
}

.textile-blog__info_title{
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 14px;
}

.textile-blog__info_text{
    margin-bottom: 30px;
}

.textile-blog__info_btn{
    padding: 15px 50px;
    background-color: #CDDDE3;
    border: 1px solid #CDDDE3;
    font-weight: 600;
    font-size: 10px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.textile-steps{
    margin-bottom: 90px;
}

.textile-steps__title{
    margin-bottom: 35px;
}

.textile-steps__list{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.textile-steps__item{
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
}

.textile-steps__item_icon{
    position: relative;
    width: 170px;
    height: 170px;
    background-color: #F9F9F9;
    border-radius: 50%;
    border: 25px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.textile-steps__item:not(:first-child) .textile-steps__item_icon::before{
    position: absolute;
    content: '';
    top: 50%;
    transform: translateY(-40%) rotate(-45deg);
    width: 4px;
    height: 4px;
    border-right: 1px solid rgba(0,0,0,.2);
    border-bottom: 1px solid rgba(0,0,0,.2);
    z-index: 1;
    left: -29px;
    border-radius: 1;
    /*background-image: url('../../img/N/pages/textilePage/arrow.svg');*/
    /*background-repeat: no-repeat;*/
    /*background-position: right center;*/
}

.textile-steps__item_icon img{
    max-width: 50px;
    max-height: 50px;
}

.textile-steps__item_text{
    width: 100%;
    text-align: center;
}

.textile-steps__list{
    position: relative;
}

.textile-steps__list::before{
    content: '';
    position: absolute;
    left: 25px;
    right: 25px;
    top: 85px;
    height: 1px;
    background-color: rgba(0,0,0,.2);
}

.portfolio-slide{
    border: 1px solid #CDDDE3;
    padding: 40px;
}

.portfolio-slide__gallery{
    display: flex;
    gap: 30px;
    align-items: stretch;
    justify-content: flex-start;
    margin-bottom: 40px;
}

.portfolio-slide__gallery_main{
    flex: 0 0 525px;
    position: relative;
}

.portfolio-slide__gallery_list{
    flex: 1 1 auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.portfolio-slide__gallery_item{
    flex: 0 0 calc(50% - 15px);
    position: relative;
}

.portfolio-slide__gallery_item::before{
    content: '';
    display: block;
    padding-top: 65%;
}

.image-background{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.portfolio-slide__info{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 130px;
    font-size: 16px;
}

.portfolio-slide__content{
    flex: 0 1 calc(100% - 485px);
}

.portfolio-slide__title{
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 27px;
    flex: 0 0 100%;
}

.portfolio-slide__content_text{
    margin-bottom: 40px;
}

.portfolio-author__header{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.portfolio-author__photo{
    flex: 0 0 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%;
    position: relative;
}

.portfolio-author__name{
    font-weight: 400;
}

.portfolio-author__text{
    padding-left: 100px;
}

.portfolio-slide__side{
    flex: 0 0 355px;
}

.portfolio-slide__properties_item:not(:last-child){
    margin-bottom: 10px;
}

.portfolio-property__value{
    font-weight: 400;
}

.portfolio-slide__properties{
    margin-bottom: 80px;
}

.portfolio-files__title{
    font-weight: 400;
    margin-bottom: 15px;
}

.portfolio-files__item{
    padding: 12px 0 12px 50px;
    background-image: url('../../img/N/pages/textilePage/file-icon.svg');
    background-repeat: no-repeat;
    background-position: left center;
    border-top: 1px solid #CDDDE3;
    cursor: pointer;
}

.portfolio-files__item:last-child{
    border-bottom: 1px solid #CDDDE3;
}

.portfolio-files__item:hover{
    text-decoration: underline;
}

.textile-portfolio__slider{
    overflow: hidden;
    padding-bottom: 23px;
    position: relative;
}

.textile-portfolio__wrapper{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.textile-portfolio__item{
    flex: 0 0 100%;
}

.textile-portfolio__pager{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
    gap: 6px;
}

.textile-portfolio__pager .swiper-pagination-bullet{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #E4E4E4;
    cursor: pointer;
}

.textile-portfolio__pager .swiper-pagination-bullet-active{
    background-color: #CDDDE3;
}

.textile-portfolio__content{
    position: relative;
}

.textile-portfolio__btn{
    position: absolute;
    width: 36px;
    height: 16px;
    background-image: url("../../img/N/pages/textilePage/slider-arrow.svg");
    background-position: center left;
    cursor: pointer;
}

.textile-portfolio__btn--prev{
    left: -65px;
    top: 50%;
    transform: translateY(-50%);
}

.textile-portfolio__btn--next{
    right: -65px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
}

.textile-page__portfolio{
    margin-bottom: 60px;
}

.textile-page__presentation{
    margin-bottom: 60px;
}

.textile-presentation{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 70px;
    border: 1px solid #F4F4F4;
    padding: 22px 85px;
}

.textile-presentation__image{
    flex: 0 0 170px;
}

.textile-presentation__info{
    flex: 1 1 auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
}

.textile-presentation__title{
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
}

.textile-presentation__text{
    margin-bottom: 25px;
}

.textile-presentation__btn{
    cursor: pointer;
    padding: 15px 20px 15px 64px;
    background-image: url("../../img/N/pages/textilePage/presentation-icon.svg");
    background-repeat: no-repeat;
    background-position: left 20px center;
    border: 1px solid #CDDDE3;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.textile-presentation__btn:hover{
    background-color: #CDDDE3;
}

.textile-page__advantages{
    margin-bottom: 100px;
}

.textile-advantages__title{
    margin-bottom: 40px;
}

.textile-advantages__list{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.textile-advantages__item{
    flex: 0 0 160px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    gap: 27px;
    text-align: center;
}

.textile-advantages__item_icon{
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #CDDDE3;
}

.textile-page__form{
    margin-bottom: 130px;
}

.textile-form{
    background-color: #F4F4F4;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.textile-form__content{
    width: 540px;
    max-width: 100%;
}

@media (max-width: 1200px) {
    .textile-header{
        flex-wrap: wrap;
    }

    .textile-header__main,
    .textile-header__side{
        flex-basis: 100%;
    }

    .textile-header__video{
        width: 100%;
    }

    .textile-header__main{
        margin-right: 0;
        margin-bottom: 60px;
    }
}

@media (max-width: 1024px) {
    .textile-listing__item {
        display: block;
        flex: 0 0 calc(50% - 12px);
    }

    .textile-text ul{
        column-count: 1;
    }

    .textile-text ul li,
    .textile-header__text ul li{
        padding-right: 0;
    }

    .textile-blog__preview{
        flex-basis: 320px;
    }

    .textile-blog__item{
        flex-direction: row-reverse;
        gap: 40px;
    }

    .textile-page__header,
    .textile-page__blog{
        margin-bottom: 60px;
    }

    .textile-page__listing,
    .textile-page__steps,
    .textile-page__advantages{
        margin-bottom: 80px;
    }

    .textile-page__text,
    .textile-page__form{
        margin-bottom: 50px;
    }

    .textile-page__portfolio{
        margin-bottom: 20px;
    }

    .textile-steps__item_icon{
        border-width: 13px;
        width: 103px;
        height: 103px;
    }

    .textile-steps__item_icon img{
        max-width: 30px;
        max-height: 30px;
    }

    .textile-steps__list::before{
        top: 52px;
        left: 75px;
        right: 75px;
    }

    .textile-steps__item:not(:first-child) .textile-steps__item_icon::before{
        left: -17px;
    }

    .textile-steps__item{
        flex-basis: 150px;
    }

    .portfolio-slide__gallery{
        flex-wrap: wrap;
        gap: 20px;
        align-items: flex-start;
    }

    .portfolio-slide__gallery_main{
        flex-basis: 100%;
    }

    .portfolio-slide__gallery_main::before{
        content: '';
        padding-top: 78%;
        display: block;
    }

    .portfolio-slide__gallery_list{
        flex-basis: 100%;
        gap: 15px;
    }

    .portfolio-slide__gallery_item {
        flex: 0 0 calc(25% - 3 * 15px / 4);
    }

    .portfolio-slide__content{
        flex-basis: 100%;
        margin-bottom: 30px;
    }

    .portfolio-slide__side{
        flex-basis: 100%;
    }

    .portfolio-author__text{
        padding-left: 0;
    }

    .portfolio-slide__side{
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 50px;
    }

    .portfolio-slide__properties{
        margin-bottom: 0;
        flex: 1 1 auto;
    }

    .portfolio-slide__files{
        flex:  0 0 300px;
    }

    .textile-portfolio__btn{
        width: 30px;
    }

    .textile-portfolio__btn--prev{
        left: -40px;
    }

    .textile-portfolio__btn--next{
        right: -40px;
    }

    .textile-portfolio__slider{
        padding-bottom: 0;
    }

    .textile-portfolio__pager{
        display: none;
    }


    .textile-presentation__image{
        flex: 100px;
    }

    .textile-presentation{
        padding: 20px 50px;
    }

    .textile-steps__list{
        gap: 5px;
    }

    .portfolio-author__photo {
        flex-basis: 60px;
        height: 60px;
    }
}

@media (max-width: 767px) {
    .textile-header__title{
        font-size: 18px;
        margin-bottom: 14px;
    }

    .textile-header__text,
    .textile-page{
        font-size: 12px;
    }

    .textile-header__main{
        margin-bottom: 40px;
    }

    .textile-header__phone_link{
        font-size: 20px;
        margin-bottom: 10px;
    }

    .textile-header__phone{
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        margin-bottom: 10px;
    }

    .textile-page h2{
        font-size: 14px;
        margin-bottom: 10px;
    }

    .textile-listing__list{
        gap: 20px;
    }

    .textile-page__header,
    .textile-page__blog,
    .textile-page__listing,
    .textile-page__steps,
    .textile-page__advantages,
    .textile-page__presentation,
    .textile-page__text,
    .textile-page__form{
        margin-bottom: 40px;
    }

    .textile-blog__item{
        padding: 20px 0;
    }

    .textile-blog__item{
        flex-direction: column;
        gap: 18px;
    }

    .textile-blog__preview,
    .textile-blog__info{
        flex-basis: auto;
        width: 100%;
    }

    .textile-blog__info_text{
        margin-bottom: 15px;
    }

    .textile-steps__list{
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .textile-steps__item{
        flex-basis: auto;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 20px;
    }

    .textile-steps__item_text{
        text-align: left;
        flex: 1 1 auto;
    }

    .textile-steps__item_icon{
        flex: 0 0 70px;
        height: 70px;
        width: 70px;
        border-width: 5px;
    }

    .textile-steps__item_icon img{
        max-width: 25px;
        max-height: 25px;
    }

    .textile-steps__list::before{
        left: 35px;
        right: unset;
        top: 35px;
        bottom: 35px;
        height: unset;
        width: 1px;
    }

    .textile-steps__item:not(:first-child) .textile-steps__item_icon::before{
        transform: rotate(45deg);
        left: 28px;
        top: -9px
    }

    .portfolio-slide{
        padding: 15px;
    }

    .portfolio-slide__gallery_item{
        flex-basis: calc(50% - 15px / 2);
    }

    .portfolio-slide__title,
    .portfolio-slide__info{
        font-size: 12px;
    }

    .portfolio-author__photo {
        flex-basis: 40px;
        height: 40px;
    }

    .portfolio-slide__content_text,
    .portfolio-author__header{
        margin-bottom: 15px;
    }

    .portfolio-author__header{
        gap: 10px;
    }

    .portfolio-slide__content{
        margin-bottom: 5px;
    }

    .portfolio-slide__side {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .portfolio-slide__files{
        flex-basis: auto;
        width: 100%;
    }

    .portfolio-slide__properties{
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px;
        width: 100%;
    }

    .portfolio-slide__properties_item{
        margin: 0;
        flex:  0 0 calc(50% - 5px);
    }

    .portfolio-property{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .portfolio-files__item:last-child{
        border-bottom: 0;
    }

    .textile-portfolio__btn{
        width: 11px;
        height: 8px;
        background-size: cover;
        top: 20%;
    }

    .textile-portfolio__btn--prev{
        left: -16px;
        transform: unset;
    }

    .textile-portfolio__btn--next{
        right: -16px;
        transform: rotate(180deg);
    }

    .textile-presentation{
        position: relative;
        padding: 20px;
    }

    .textile-presentation__image{
        width: 50px;
        position: absolute;
        left: 20px;
        top: 25px;
    }

    .textile-presentation__title{
        padding-left: 70px;
        font-size: 12px;
        margin-bottom: 5px;
    }

    .textile-presentation__text{
        padding-left: 70px;
        font-size: 12px;
        margin-bottom: 10px;
    }

    .textile-presentation__btn{
        background-size: 16px 16px;
        padding: 14px 14px 14px 36px;
        font-size: 8px;
        background-position: left 10px center;
    }

    .textile-advantages__item_icon{
        width: 60px;
        height: 60px;
    }

    .textile-advantages__item_icon img{
        max-width: 25px;
        max-height: 25px;
    }

    .textile-advantages__item{
        flex-basis: 120px;
        gap: 5px;
    }

    .textile-form{
        padding: 30px 10px;
        margin-left: -30px;
        margin-right: -30px;
    }

    .textile-header__text blockquote{
        margin-left: 0;
        padding-left: 20px;
    }

    .main-preview{
        margin-bottom: 30px;
    }

    .textile-header__video_btn svg{
        width: 40px;
        height: 40px;
    }

    .textile-text ul li::before,
    .textile-header__text ul li::before{
        top: 8px;
    }
}