.breadcrumbs,
.article-title {
    display: none;
}

.ready-container {
    margin: 0 calc(50% - 50vw);
    background-color: #fff;
}

.ready-container>.container {
    padding-right: 35px;
    padding-left: 35px;
}

/* messasge */
.ready__message {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ready__message>img {
    display: block;
    width: 50px;
}

p.ready__message-text {
    margin: 0;
    font-family: 'Inter Light';
    font-size: 24px;
    line-height: normal;
    color: #333;
}

p.ready__message-text span:not(.nowrap) {
    margin-top: 5px;
    display: block;
    font-family: 'Inter Variable';
    font-size: 18px;
}

/* banner */
.ready-banner__banner {
    margin: 0 calc(50% - 50vw);
    position: relative;
    background-color: #fff;
}

.ready-banner__banner>.container {
    padding-right: 35px;
    padding-left: 35px;
}

.ready-banner__content {
    margin: 0;
    margin-right: auto;
    padding: 140px 0px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ready-banner__title {
    margin: 0;
    margin-bottom: 30px;
    position: relative;
    font-family: 'Inter Variable';
    font-size: 42px;
    line-height: normal;
    color: #333;
    text-align: left;
    letter-spacing: unset;
    z-index: 1;
}

p.ready-banner__text {
    margin: 0 0 60px;
    max-width: 462px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Inter Variable';
    font-size: 18px;
    line-height: normal;
    color: #333;
    z-index: 1;
}

p.ready-banner__text::before {
    content: '';
    display: none;
    min-width: 52px;
    height: 55px;
    background-image: url('https://img.danila-master.ru/uploads/articlesImages/pages/classical-monuments/package/package-icon.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

p.ready-banner__text span {
    overflow: hidden;
}

p.ready-banner__text span>span {
    display: block;
    /* transform: translateX(-100%); */
    /* transition: 1s ease-in-out; */
}

/* p.ready-banner__text.animated span>span {
    transform: translateX(0);
    transition: 1s ease-in-out;
} */

.ready-banner__video {
    display: block;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    right: -65px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ready-banner__video.mobile {
    display: none;
}

.ready-banner__btn {
    position: relative;
    padding: 10px 20px;
    max-width: 260px;
    width: 100%;
    background-color: #df8844;
    border-radius: 7px;
    border: none;
    font-family: 'Inter Variable';
    font-size: 16px;
    line-height: normal;
    color: #fff;
    text-align: center;
    text-decoration: none;
    transition: background-color .3s ease-in-out;
}

.ready-banner__btn:hover {
    background-color: #333;
    transition: background-color .3s ease-in-out;
}

.ready-banner__btn:active {
    background-color: #df8844;
    transition: background-color .3s ease-in-out;
}

/* complex */
.ready-complex {
    margin: 50px calc(50% - 50vw);
    background-color: #f7f7f7;
}

.ready-complex>.container {
    padding: 35px;
}

.ready-complex__container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ready-complex__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

p.ready-complex__title {
    margin: 0;
    font-family: 'Inter Variable';
    font-size: 18px;
    line-height: normal;
    color: #333;
    text-align: left;
}

.ready-complex__btn {
    padding: 5px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    background-color: #333;
    border-radius: 7px;
    border: 1px solid #333;
    cursor: pointer;
    font-family: 'Inter Variable';
    font-size: 16px;
    line-height: normal;
    color: #fff;
    text-align: left;
    text-decoration: none;
    transition: background-color .3s ease-in-out, color .3s ease-in-out;
}

.ready-complex__btn::before {
    content: '';
    display: block;
    min-width: 40px;
    height: 40px;
    background-image: url('https://img.danila-master.ru/uploads/articlesImages/site/max.svg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: background-image .3s ease-in-out;
}

.ready-complex__btn:hover {
    background-color: transparent;
    color: #333;
    text-decoration: none;
    transition: background-color .3s ease-in-out, color .3s ease-in-out;
}

.ready-complex__btn:hover::before {
    background-image: url('https://img.danila-master.ru/uploads/articlesImages/site/max-hover.svg');
    transition: background-image .3s ease-in-out;
}

.ready-complex__btn:active {
    background-color: #333;
    color: #fff;
    transition: background-color .3s ease-in-out, color .3s ease-in-out;
}

.ready-complex__info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ready-complex__box {
    padding: 15px 30px;
    width: calc((100% - 95px * 4) / 5);
    box-shadow: 0px 4px 4px 0px #00000040;
    border-radius: 7px;
}

p.ready-complex__text {
    margin: 0;
    font-family: 'Inter Variable';
    font-size: 18px;
    line-height: normal;
    color: #333;
}

/* gallery */
.ready-gallery {
    margin: 50px 0;
}

.ready-gallery__wrapper {
    position: relative;
    display: grid;
    gap: 10px;
    overflow: hidden;
}

.ready-gallery__item {
    height: 100%;
    position: relative;
    border-radius: 7px;
    overflow: hidden;
}

.ready-gallery__item:nth-child(1) {
    grid-area: 1 / 1 / 3 / 3;
}

.ready-gallery__item:nth-child(2) {
    grid-area: 3 / 1 / 5 / 3;
}

.ready-gallery__item:nth-child(3) {
    grid-area: 1 / 3 / 5 / 7;
}

.ready-gallery__item:nth-child(4) {
    grid-area: 1 / 7 / 3 / 9;
}

.ready-gallery__item:nth-child(5) {
    grid-area: 3 / 7 / 5 / 9;
}

.ready-gallery__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform .3s ease-in-out;
}

.ready-gallery__img:hover {
    transform: scale(1.2);
    transition: transform .3s ease-in-out;
}

.ready-gallery__img:active {
    transform: scale(1);
    transition: transform .3s ease-in-out;
}

.ready-gallery__content {
    padding: 5px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px);
}

p.ready-gallery__name {
    margin: 0;
    font-family: 'Inter Variable';
    font-size: 16px;
    line-height: normal;
    color: #fff;
    text-align: center;
}

/* modal */
.gallery-modal {
    position: absolute;
    inset: 0;
    padding: 15px;
    padding-bottom: 30px;
    border-radius: 7px;
    background-color: #fff;
    transform: translateX(100%);
    transition: transform .7s ease-in-out;
}

.gallery-modal.active {
    transform: translateX(0);
    transition: transform .7s ease-in-out;
}

.gallery-modal__box {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.gallery-modal__name {
    margin: 0;
    font-family: 'Inter Medium';
    font-size: 24px;
    line-height: normal;
    color: #333;
}

.gallery-modal__close {
    padding: 5px 15px;
    display: flex;
    align-items: baseline;
    gap: 5px;
    border-radius: 7px;
    border: none;
    background-color: #e1e1e1;
    cursor: pointer;
}

.gallery-modal__close::before {
    content: 'закрыть';
    font-family: 'Inter Variable';
    font-size: 16px;
    line-height: normal;
    color: #333;
}

.gallery-modal__close::after {
    content: '';
    background-image: url('https://img.danila-master.ru/uploads/articlesImages/site/icons/icon-krest.svg');
    background-size: cover;
    width: 10px;
    height: 10px;
    display: inline-block;
}

.gallery-modal__wrapper {
    display: flex;
    gap: 20px;
}

.gallery-modal__visual {
    width: 45%;
    aspect-ratio: 1 / 1;
    border-radius: 7px;
    overflow: hidden;
}

.gallery-modal__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-modal__info {
    width: 55%;
    display: flex;
    flex-direction: column;
}

.gallery-modal__title {
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
    font-family: 'Inter Medium';
    font-size: 24px;
    line-height: normal;
    color: #333;
}

.gallery-modal__content p {
    margin: 0 0 15px;
    font-family: 'Inter Variable';
    font-size: 16px;
    line-height: normal;
    color: #333;
}

.gallery-modal__buttons {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.gallery-modal__btn {
    padding: 10px 30px;
    width: 100%;
    background-color: #333;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    font-family: 'Inter Variable';
    font-size: 18px;
    line-height: normal;
    color: #fff;
    text-align: center;
    text-decoration: none;
    transition: background-color .3s ease-in-out;
}

.gallery-modal__btn.disabled {
    pointer-events: none;
    opacity: .5;
}

.gallery-modal__btn:last-child {
    padding: 10px 50px;
    width: calc(100% - 100px);
    background-color: #f5f5f5;
    color: #333;
}

/* fos */
.ready-fos {
    margin: 50px 0;
}

.ready-fos__container {
    display: flex;
    gap: 24px;
}

.ready-fos__content {
    padding: 35px;
    display: flex;
    flex-direction: column;
    background-color: #f7f7f7;
    border-radius: 7px;
}

.ready-fos__title {
    margin: 0 0 30px;
    font-family: 'Inter Variable';
    font-size: 32px;
    line-height: normal;
    color: #333;
    text-align: left;
    letter-spacing: unset;
}

.ready-fos__boxes {
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ready-fos__box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter Variable';
    font-size: 18px;
    line-height: normal;
    color: #333;
}

.ready-fos__box>img {
    min-width: 46px;
}

.ready-fos__btn {
    margin-top: auto;
    padding: 15px;
    width: 100%;
    background-color: #333;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    font-family: 'Inter Variable';
    font-size: 21px;
    line-height: normal;
    color: #fff;
    text-align: center;
    transition: background-color .3s ease-in-out;
}

.ready-fos__btn:hover {
    background-color: #df8844;
    transition: background-color .3s ease-in-out;
}

.ready-fos__btn:active {
    background-color: #333;
    transition: background-color .3s ease-in-out;
}

.ready-fos__image {
    position: relative;
    border-radius: 7px;
    overflow: hidden;
}

.ready-fos__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ready-fos__descr {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 5px 10px;
    background-color: #df8844;
    border-radius: 0 7px 0 0;
    font-family: 'Inter Variable';
    font-size: 18px;
    line-height: normal;
    color: #fff;
}

@media screen and (max-width: 1130px) {
    /* banner */
    .ready-banner__content {
        padding: 70px 0;
    }

    .ready-banner__video {
        width: auto;
        right: 0;
    }
}

@media screen and (max-width: 1024px) {
    /* banner */
    .ready-banner__video {
        display: none;
        height: auto;
    }

    .ready-banner__video.mobile {
        display: block;
        position: static;
        width: 100%;
    }

    .ready-banner__content {
        padding: 20px 0;
        align-items: center;
    }

    .ready-banner__title {
        margin-bottom: 20px;
    }

    .ready-banner__title>br {
        display: none;
    }

    .ready-banner__title {
        text-align: center;
    }

    p.ready-banner__text {
        margin-bottom: 0;
    }

    /* complex */
    .ready-complex__box {
        width: calc((100% - 140px) / 2);
    }

    /* gallery */
    .ready-gallery__item:nth-child(1) {
        grid-area: 1 / 1 / 5 / 5;
    }

    .ready-gallery__item:nth-child(2) {
        grid-area: 1 / 5 / 3 / 7;
    }

    .ready-gallery__item:nth-child(3) {
        grid-area: 3 / 5 / 5 / 7;
    }

    .ready-gallery__item:nth-child(4) {
        grid-area: 5 / 1 / 7 / 4;
    }

    .ready-gallery__item:nth-child(5) {
        grid-area: 5 / 4 / 7 / 7;
    }

    .gallery-modal__wrapper {
        flex-direction: column;
        height: calc(100% - 45px);
    }

    .gallery-modal__visual {
        width: 100%;
        height: 100%;
    }

    .gallery-modal__img {
        object-fit: contain;
    }

    .gallery-modal__info {
        width: 100%;
    }

    .gallery-modal__title {
        display: none;
    }

    /* fos */
    .ready-fos__container {
        flex-direction: column;
    }

    .ready-fos__boxes {
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 768px),
screen and (max-height: 720px) {
    .ready-gallery__img {
        pointer-events: none;
    }

    .gallery-modal {
        display: none;
    }
}

@media screen and (max-width: 768px) {

    .ready-container>.container,
    .ready-banner__banner>.container,
    .ready-complex>.container {
        padding-right: 15px;
        padding-left: 15px;
    }

    /* message */
    p.ready__message-text {
        font-size: 18px;
    }

    p.ready__message-text span {
        display: none !important;
    }

    /* complex */
    .ready-complex__content {
        flex-direction: column;
        align-items: flex-start;
    }

    /* fos */
    .ready-fos__content {
        padding: 20px;
    }

    .ready-fos__title {
        font-size: 25px;
    }
}

@media screen and (max-width: 576px) {
    /* banner */
    .ready-banner__btn {
        max-width: 100%;
        width: calc(100% - 40px);
        order: 2;
    }

    .ready-banner__title {
        margin: 0;
        font-size: 21px;
        text-align: center;
        text-transform: uppercase;
    }

    p.ready-banner__text {
        margin-bottom: 20px;
        max-width: 100%;
        font-size: 16px;
        text-align: center;
        order: 1;
    }

    p.ready-banner__text::before {
        display: none;
    }

    p.ready-banner__text span>span {
        transform: translateX(0);
    }

    /* complex */
    .ready-complex__box {
        padding: 15px;
        width: calc(100% - 30px);
    }

    p.ready-complex__title,
    p.ready-complex__text {
        font-size: 16px;
    }

    /* gallery */
    .ready-gallery__item {
        grid-area: auto !important;
    }

    p.ready-gallery__name {
        font-size: 16px;
    }

    /* fos */
    .ready-fos__container {
        gap: 15px;
    }

    .ready-fos__title {
        font-size: 21px;
    }

    .ready-fos__box {
        font-size: 16px;
    }

    .ready-fos__btn {
        font-size: 18px;
    }

    .ready-fos__descr {
        position: static;
        border-radius: 0;
        font-size: 16px;
        text-align: center;
    }
}