body {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, #fff 0);
    background-size: 16.6666% 100%;
}

.inp,
.text-area {
    background: transparent;
}

.page__breadcrumbs {
    margin-bottom: 40px;
}

.breadcrumb {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item::after {
    content: "";
    width: 5px;
    height: 5px;
    background: #a5a5a5;
    display: block;
    margin: 0 8px;
}

.breadcrumb-item:last-child::after {
    display: none;
}

.breadcrumb-item a {
    color: #000;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #969696;
}

.sp-card {
    position: relative;
    min-height: 100% !important;
    height: 100%;
    overflow: hidden;
}
.sp-card:hover .sp-card__thumb {
    transform: scale(1.1);
}
.sp-card__thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.8s ease;
}
.sp-card__body {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), #000);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 60px;
    z-index: 100;
}

.sp-card__content-wrap {
    width: 100%;
    max-width: 1000px;
}

.sp-card__title {
    margin: 0;
    margin-bottom: 20px;
    font-size: 42px;
}

.sp-card__desc {
    max-width: 85%;
    line-height: 1.5;
    margin-bottom: 40px;
}

.pservice__item {
    margin: 0 auto;
    margin-bottom: 40px;
    max-width: 1100px;
}
.pservice__item:last-child {
    margin-bottom: 0;
}

.modal-wrap {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.96);
    z-index: 9000;
    transform: scale(0);
}

.modal-wrap--open {
    animation: test 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.modal-box {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 99999;
    visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease-in-out;
}

.modal-box--show {
    background: rgba(0, 0, 0, 0.92);
    visibility: visible;
}

.modal-box--show .modal {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.modal {
    width: 100%;
    max-width: 1000px;
    min-height: 500px;
    background: #fff;
    transition: all 0.4s ease-in-out;
    opacity: 0;
    transform: scale(0.8) translateY(100px);
    display: flex;
    justify-content: space-between;
    overflow: hidden;
}

.modal__thumb-wrap {
    width: 45%;
}

.modal__thumb {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.modal__head {
    text-align: center;
    width: 100%;
    max-width: 90%;
    margin: 0;
    margin-bottom: 20px;
    margin: 0 auto;
}

.modal__title {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 26px;
    line-height: 1.5;
}

.modal__desc {
    margin: 0;
    margin: 0 auto;
    color: #333;
    line-height: 1.5;
}

.modal__content {
    width: 55%;
    padding: 20px;
}

.modal__topbar {
    display: flex;
    justify-content: flex-end;
}

.modal__close {
    width: 28px;
    height: 28px;
    padding: 0;
    margin: 0;
    border: 0;
    outline: none;
    background: transparent;
    cursor: pointer;
}

.modal__close-ico {
    width: 100%;
    height: 100%;
}

.modal__main {
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
    margin-top: 30px;
}

.modal__main--center {
    text-align: center;
}

.modal--quiz .modal__content {
    width: 100%;
}

@keyframes test {
    0% {
        background: rgba(0, 0, 0, 0);
    }
    100% {
        background: rgba(0, 0, 0, 0.92);
        visibility: visible;
    }
}

.order-form .form-group {
    margin-bottom: 35px;
}

.order-form .inp {
    height: 38px;
}
.order-form .text-area {
    height: auto;
}

/*MOBILE MENU*/
.mmenu {
    text-align: right;
    width: 32px;
    height: 26px;
    display: none;
}

.mmenu__icon {
    display: none;
    width: 32px;
    height: 26px;
    position: relative;
    cursor: pointer;
}

.mmenu__icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #111;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.mmenu__icon span:nth-child(1) {
    top: 4px;
}

.mmenu__icon span:nth-child(2),
.mmenu__icon span:nth-child(3) {
    top: 12px;
}

.mmenu__icon span:nth-child(4) {
    top: 20px;
}

.mmenu__links-item {
    display: inline-block;
    color: #333;
    font-size: 20px;
    line-height: 30px;
    padding: 0 10px;
    text-transform: uppercase;
    text-decoration: none;
}

.mmenu__links-item:hover {
    text-decoration: underline;
}

.mmenu.mmenu_state_open .mmenu__icon span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
}

.mmenu.mmenu_state_open .mmenu__icon span:nth-child(2) {
    transform: rotate(45deg);
}

.mmenu.mmenu_state_open .mmenu__icon span:nth-child(3) {
    transform: rotate(-45deg);
}

.mmenu.mmenu_state_open .mmenu__icon span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}

.mmenu.mmenu_state_open .mmenu__links {
    display: block;
}

.mmenu__links {
    position: fixed;
    display: none;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    margin-top: 66px;
    background-color: rgba(0, 0, 0, 0.98);
    z-index: 1000;
    overflow: auto;
    height: 100%;
}

.mmenu__links-item {
    display: block;
    padding: 15px 0;
    text-align: center;
    color: #fff;
}

.menu--mobile .menu__list {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
}
.menu--mobile .menu__item {
    margin-right: 0;
    margin-bottom: 30px;
}
.menu--mobile .menu__item:last-child {
    margin-bottom: 0;
}
.menu--mobile .menu__link {
    font-size: 22px;
    text-transform: uppercase;
    color: #fff;
}

@media screen and (max-width: 1100px) {
    .mmenu {
        display: block;
    }
    .mmenu__icon {
        display: block;
    }
    .mmenu__links {
        margin-top: 68px;
    }
}

.inp.error {
    border-bottom: 2px solid #e60b06;
}

@media screen and (max-width: 1200px) {
    .decor-text {
        display: none;
    }
}
@media screen and (max-width: 1100px) {
    .header--active .header__container {
        height: inherit;
    }
    .service-card:hover .service-card__icon {
        opacity: 1;
        width: inherit;
        height: inherit;
    }
    .service-card:hover .service-card__more {
        color: #fff;
    }
    .modal__thumb-wrap {
        display: none;
    }
    .modal__content {
        width: 100%;
    }
    .modal {
        max-width: 420px;
    }
    .mmenu {
        display: block;
    }
    .mmenu__icon {
        display: block;
    }
    .mmenu__links {
        margin-top: 70px;
    }
}
@media screen and (max-width: 780px) {
    .breadcrumb {
        flex-wrap: wrap;
    }
    .breadcrumb-item {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 520px) {
    .sp-card__title {
        font-size: 28px;
    }
    .sp-card__body {
        padding: 20px;
    }
    .sp-card__desc {
        font-size: 12px;
    }
    .p-tab {
        display: block;
        white-space: nowrap;
        padding: 5px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    .section--portfolio .p-tab {
        padding: 5px 15px;
    }
    .p-tab__item {
        margin-bottom: 0;
        display: inline-block;
    }
    .p-tab__item--active .btn {
        background: #333;
        color: #fff;
    }
    .btn--transparent::after {
        opacity: 1;
    }

    .work-card__title {
        font-size: 14px;
    }
    .work-card:hover .work-card__content:after {
        border-width: 20px 20px 0 0;
    }
}

@media screen and (max-width: 360px) {
    .modal__content {
        max-height: 400px;
        overflow-y: auto;
    }
}

.section__header {
    position: relative;
}

.decor-text {
    color: #f8f8f8;
    font-size: 200px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}
.decor-text--about {
    top: -10px;
    left: 60%;
    font-size: 120px;
    width: 100%;
}
.decor-text--ph {
    color: rgba(255, 255, 255, 0.05);
    width: 100%;
    text-align: center;
}
.header {
    z-index: 1000;
}

.s-slider__img-wrap {
    cursor: zoom-in;
}

.info-b__thumb-wrap {
    position: relative;
}

.hero-slider {
    max-height: 1080px;
}

.hero-wrap {
    position: relative;
    overflow: hidden;
    margin-bottom: 70px;
}
.hero-slider {
    margin-bottom: 0;
}

.hero-slider-overlay {
    display: none;
}
/* .hs-mask{
    position: absolute;
    top:-50px;
    left:-10%;
    width: 77.0631%;
    height: calc(100% + 100px);
    background: rgba(0,0,0,0.04);
    border: 50px solid red;
    transform:skew(-39.5deg);
} */

.hero-slider__img {
    min-height: 100%;
}

.hs-mask {
    position: absolute;
    top: -50px;
    left: -12%;
    width: 77.0631%;
    height: calc(100% + 100px);
    background: rgba(0, 0, 0, 0.63);
    border: 50px solid #fff;
    transform: skew(-40deg);
}

@media screen and (min-width: 1920px) {
    .hs-mask {
        top: -70px;
        left: -12%;
        width: 77.0631%;
        height: calc(100% + 170px);
        border: 70px solid #fff;
    }
}

@media screen and (max-width: 1200px) {
    .hs-mask {
        display: none;
    }
}

@media screen and (max-width: 1100px) {
    .lmenu--header {
        display: flex;
        margin-right: 35px;
    }
}

/*text styles*/
.ctext {
    line-height: 1.5;
}
.ctext li {
    margin-bottom: 5px;
}

.ctext a {
    color: #2980b9;
    text-decoration: none;
}
.ctext a:hover {
    text-decoration: underline;
}
