.article-title,
.breadcrumbs {
    display: none;
}

/* 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: #f7f7f7;
}

.ready-banner__banner>.container {
    padding-right: 35px;
    padding-left: 35px;
    min-height: 500px;
    display: flex;
    gap: 20px;
}

.ready-banner__content {
    margin: auto 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ready-banner__title {
    margin: 0;
    margin-bottom: 20px;
    z-index: 1;
    font-family: 'Inter Variable';
    font-size: 32px;
    line-height: normal;
    color: #333;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: unset;
}

p.ready-banner__descr {
    margin: 0;
    margin-bottom: 20px;
    z-index: 1;
    font-family: 'Inter Variable';
    font-size: 18px;
    line-height: normal;
    color: #333;
}

.ready-banner__video {
    display: block;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ready-banner__video.mob {
    display: none;
}

.ready-banner__btn {
    margin-top: 40px;
    position: relative;
    padding: 12px 50px;
    width: fit-content;
    background-color: #333;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    font-family: 'Inter Light';
    font-size: 18px;
    line-height: normal;
    color: #fff;
    text-align: center;
    text-decoration: none;
    transition: background-color .3s ease-in-out;
}

.ready-banner__btn:hover {
    background-color: #df8844;
    transition: background-color .3s ease-in-out;
}

.ready-banner__btn:active {
    background-color: #333;
    transition: background-color .3s ease-in-out;
}

/* gb-slider */
.gb-slider {
    margin: 50px 0;
}

.gb-slider__wrapper {
    flex-direction: row;
}

#gb-slider-block {
    background-image: url('https://img.danila-master.ru/uploads/articlesImages/pages/classical-monuments/mk-before.jpg');
}

.gb-slider__slider figure {
    background-image: url('https://img.danila-master.ru/uploads/articlesImages/pages/classical-monuments/mk-after.jpg');
}

.gb-slider__slider {
    max-width: calc(100% - 420px);
    aspect-ratio: 2286 / 1410;
}

.gb-slider__slider::before,
.gb-slider__slider::after {
    content: 'До';
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 10px 5px;
    width: 120px;
    border-radius: 7px;
    backdrop-filter: blur(3px);
    background-color: rgba(255, 255, 255, 0.2);
    font-family: 'Inter Bold';
    font-size: 24px;
    line-height: normal;
    color: #fff;
    text-align: center;
}

.gb-slider__slider::after {
    content: 'После';
    left: auto;
    right: 0;
}

#gb-slider-block::after {
    width: 60px;
    right: -32px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    outline: 1px solid #fff;
    background-color: rgba(0, 0, 0, 0.2);
    background-size: 80%;
    background-image: url('https://img.danila-master.ru/uploads/articlesImages/pages/classical-monuments/mk-arrow.svg');
}

.gb-slider__content {
    padding: 25px;
    gap: 15px;
    width: 350px;
    background-color: #f7f7f7;
    border-radius: 7px;
}

.gb-slider__box {
    padding: 0;
    background-color: transparent;
    box-shadow: none;
}

p.gb-slider__text {
    font-size: 18px;
}

.gb-slider__list {
    margin: 0;
    list-style: none;
}

.gb-slider__list>li>p {
    font-size: 14px;
}

button.vip-form__btn {
    margin: 0;
    background-color: #333;
}

button.vip-form__btn:hover {
    background-color: #df8844;
}

button.vip-form__btn:active {
    background-color: #333;
}

/* final */
.ready-final {
    margin: 50px calc(50% - 50vw);
    background-color: #f7f7f7;
}

.ready-final>.container {
    padding: 50px 35px;
}

p.ready-final__text {
    margin: 0;
    margin-bottom: 30px;
    font-family: 'Inter Variable';
    font-size: 24px;
    line-height: normal;
    color: #333;
}

p.ready-final__text span {
    font-size: 16px;
}

.ready-final__boxes {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.ready-final__box {
    padding: 15px;
    width: calc((100% - 20px * 2) / 3);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter Variable';
    font-size: 16px;
    line-height: normal;
    color: #333;
    box-shadow: 0px 2px 4px 1px #00000040;
    border-radius: 7px;
}

.ready-final__box>p {
    margin: 0;
}

p.ready-final__descr {
    margin: 20px 0 0;
    font-family: 'Inter Variable';
    font-size: 14px;
    line-height: normal;
    color: #333;
}

/* steps */
.ready-steps {
    margin: 50px calc(50% - 50vw);
    background-color: #f7f7f7;
}

.ready-steps>.container {
    padding: 25px 35px;
}

.ready-steps__wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 35px;
}

.ready-steps__item {
    width: calc((100% - 35px * 3) / 4);
}

.ready-steps__content {
    overflow: hidden;
}

p.ready-steps__text {
    margin: 0 0 20px;
    font-family: 'Inter Medium';
    font-size: 21px;
    line-height: normal;
    color: #333;
}

p.ready-steps__descr {
    margin: 0;
    font-family: 'Inter Variable';
    font-size: 18px;
    line-height: normal;
    color: #333;
    transform: translateX(-100%);
    transition: transform 1s ease-out;
}

.ready-steps__item.animated p.ready-steps__descr {
    transform: translateX(0) !important;
    transition-delay: 0s;
    transition: transform 1s ease-out;
}

/* gallery */
.ready-gallery {
    margin: 50px 0;
}

.ready-gallery__wrapper {
    margin-bottom: 10px;
    position: relative;
    display: grid;
    gap: 10px;
    overflow: hidden;
}

.ready-gallery__wrapper.mobile {
    display: none;
}

.ready-gallery__wrapper.mobile.active {
    display: grid;
}

.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;
}

.ready-gallery__block {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

p.ready-gallery__text {
    margin: 0;
    font-family: 'Inter Variable';
    font-size: 18px;
    line-height: normal;
    color: #333;
}

.ready-gallery__button {
    padding: 10px 30px;
    max-width: 275px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    border: none;
    border-radius: 7px;
    background-color: #333;
    font-family: 'Inter Variable';
    font-size: 18px;
    line-height: normal;
    color: #fff;
    text-align: center;
    transition: background-color .3s ease-in-out;
}

.ready-gallery__button:hover {
    background-color: #df8844;
    transition: background-color .3s ease-in-out;
}

.ready-gallery__button:active {
    background-color: #333;
    transition: background-color .3s ease-in-out;
}

/* 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;
}

/* questions */
.ready-questions {
    margin: 50px 0;
}

.ready-questions__title {
    margin: 0;
    margin-bottom: 30px;
    font-family: 'Inter Variable';
    font-size: 32px;
    line-height: normal;
    color: #333;
    letter-spacing: unset;
    text-align: left;
}

.ready-questions__block {
    margin-bottom: 24px;
    position: relative;
}

p.ready-questions__question {
    margin: 0;
    padding: 25px;
    position: relative;
    font-family: 'Inter Variable';
    font-size: 21px;
    line-height: normal;
    color: #333;
    cursor: pointer;
    box-shadow: 0px 4px 4px 0px #33333333;
}

p.ready-questions__question::before {
    content: '';
    position: absolute;
    bottom: 15px;
    right: 15px;
    transform: rotate(45deg);
    width: 25px;
    height: 15px;
    background-image: url('https://img.danila-master.ru/uploads/articlesImages/pages/main-menu/strelka-black.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: .5;
    transition: .3s ease-in-out;
}

p.ready-questions__question.active::before {
    opacity: 0;
    transition: .3s ease-in-out;
}

p.ready-questions__answer {
    margin: 0;
    font-family: 'Inter Variable';
    font-size: 18px;
    line-height: normal;
    color: #333;
    box-shadow: 0px 4px 4px 0px #33333333;
}

p.ready-questions__answer span {
    display: block;
    padding: 25px;
}

/* gb-banner */
.gb-banner>.container {
    min-height: 565px;
}

.gb-banner__title {
    font-size: 32px;
}

.gb-banner__title div {
    font-size: 18px;
}

/* gb-fos */
.gb-fos {
    margin: 0 calc(50% - 50vw);
    background-color: #333;
}

.gb-fos>.container {
    padding: 25px 35px;
    padding-bottom: 55px;
}

.gb-fos>.container .politika-check,
.gb-fos>.container .politika-check a {
    color: #fff;
}

@media screen and (max-width: 1920px) {
    /* banner */
    .ready-banner__video {
        object-fit: cover;
    }
}

@media screen and (max-width: 1200px) {
    /* banner */
    .ready-banner__banner {
        background-color: #fff;
    }

    .ready-banner__banner>.container {
        min-height: auto;
    }

    .ready-banner__content {
        padding: 30px 0;
        align-items: center;
    }

    .ready-banner__title,
    p.ready-banner__descr {
        text-align: center;
    }

    .ready-banner__title>br,
    p.ready-banner__descr>br {
        display: none;
    }

    .ready-banner__video {
        display: none;
        position: static;
        width: 100%;
        height: auto;
    }

    .ready-banner__video.mob {
        display: block;
    }

    .ready-banner__btn {
        margin-top: 25px;
    }

    /* gb-fos */
    .gb-fos>.container {
        padding-bottom: 25px;
    }
}

@media screen and (max-width: 1024px) {
    /* gb-slider */
    .gb-slider__wrapper {
        flex-direction: column;
    }

    .gb-slider__slider {
        max-width: 100%;
    }

    .gb-slider__content {
        max-width: 100%;
        width: calc(100% - 50px);
    }

    button.vip-form__btn {
        padding: 15px 70px;
        width: fit-content;
    }

    /* final */
    .ready-final__boxes {
        flex-wrap: wrap;
    }

    .ready-final__box {
        width: calc((100% - 80px) / 2);
    }

    .ready-final__box:nth-child(3) {
        width: calc(100% - 30px);
    }

    /* steps */
    .ready-steps__item {
        width: calc((100% - 35px) / 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;
    }

    /* gb-banner */
    .gb-banner>.container {
        min-height: auto;
    }
}

@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-banner__banner>.container,
    .ready-steps>.container,
    .ready-final>.container,
    .gb-fos>.container {
        padding-right: 15px;
        padding-left: 15px;
    }

    /* message */
    p.ready__message-text {
        font-size: 18px;
    }

    p.ready__message-text span {
        display: none !important;
    }

    p.ready__message-text span:not(.nowrap) {
        font-size: 16px;
    }

    /* final */
    p.ready-final__text span {
        display: block;
    }

    /* gallery */
    .ready-gallery__block {
        flex-direction: column;
    }

    p.ready-gallery__text {
        text-align: center;
    }

    /* questions */
    .ready-questions__block {
        padding-left: 0;
    }

    .ready-questions__title {
        text-align: center;
    }
}   

@media screen and (max-width: 576px) {
    /* banner */
    .ready-banner__title {
        font-size: 25px;
    }

    p.ready-banner__descr {
        margin-bottom: 10px;
    }

    .ready-banner__video.mob {
        margin-top: 10px;
    }

    .ready-banner__btn {
        margin-top: 20px;
        padding: 15px;
        width: calc(100% - 30px);
        font-size: 16px;
    }

    button.ready-banner__btn {
        width: 100%;
    }

    /* gb-slider */
    .gb-slider__content {
        padding: 0;
        width: 100%;
        background-color: transparent;
    }

    #gb-slider-block::after {
        width: 40px;
        right: -22px;
    }

    .gb-slider__slider::before,
    .gb-slider__slider::after {
        padding: 5px;
        width: 90px;
        font-size: 18px;
    }

    button.vip-form__btn {
        padding: 15px;
        width: 100%;
        font-size: 16px;
    }

    /* final */
    .ready-final__box {
        width: calc(100% - 30px);
    }

    /* steps */
    .ready-steps__item {
        width: 100%;
    }

    /* gallery */
    .ready-gallery__item {
        grid-area: auto !important;
    }

    p.ready-gallery__name {
        font-size: 16px;
    }

    /* questions */
    .ready-questions__title {
        font-size: 25px;
    }

    p.ready-questions__question {
        font-size: 18px;
    }

    p.ready-questions__answer {
        font-size: 16px;
    }

    /* gb-banner */
    .gb-banner__title {
        font-size: 21px;
    }

    .gb-banner__title div {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    /* banner */
    .ready-banner__content {
        padding: 10px 0;
    }

    .ready-banner__title {
        font-size: 21px;
    }

    p.ready-banner__descr {
        font-size: 16px;
    }

    /* gb-slider */
    .gb-slider__slider::before,
    .gb-slider__slider::after {
        width: 70px;
        font-size: 16px;
    }

    /* final */
    p.ready-final__text {
        font-size: 21px;
        text-align: center;
    }
}