.quiz-excursion-modal .modal-container {
    width: 1096px;
}

.quiz-excursion-modal .modal-content {
    height: 656px;
    border-radius: 20px;
}

.quiz-excursion-modal .modal-close {
    position: absolute;
    z-index: 1;
    top: 22px;
    right: 22px;
}

.quiz-excursion-modal .modal-close:hover {
    opacity: 0.8;
}

.quiz-excursion-modal .step {
    display: none;
    flex-direction: column;
    align-items: center;
}

.quiz-excursion-modal .step.active {
    display: flex;
}

.quiz-excursion-modal .step[data-step="1"] {
    gap: 50px;
    padding: 80px 140px 93px;
}

.quiz-excursion-modal .title-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 17px;
}

.quiz-excursion-modal .title {
    color: #303030;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%; /* 43.2px */
    text-transform: uppercase;
    width: 479px;
}

.quiz-excursion-modal .title span {
    color: #303030;
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
}

.quiz-excursion-modal .title-container .text {
    color: #303030;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 83.333% */
}

.quiz-excursion-modal .list {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.quiz-excursion-modal .list .item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex: 1 0 0;
    align-self: stretch;
    cursor: pointer;
}

.quiz-excursion-modal .list .item > img {
    height: 260px;
    align-self: stretch;
    aspect-ratio: 194/195;
    width: 100%;
}

.quiz-excursion-modal .list .item .item-footer {
    display: flex;
    padding: 17px 5px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex: 1 0 0;
    align-self: stretch;
    border-radius: 0 0 10px 10px;
    border-right: 1px solid #48924E;
    border-bottom: 1px solid #48924E;
    border-left: 1px solid #48924E;
    background: #F5F8F4;
}

.quiz-excursion-modal .list .item .item-footer p {
    color: #333;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px; /* 100% */
}

.quiz-excursion-modal .list .item:hover .item-footer {
    border-radius: 0 0 10px 10px;
    border-right: 2px solid #FF9C00;
    border-bottom: 2px solid #FF9C00;
    border-left: 2px solid #FF9C00;
    padding: 17px 4px 16px;
    background: #FFFBF5;
}

.quiz-excursion-modal .region-step {
    gap: 40px;
    padding: 60px 27px;
    width: 100%;
}

.quiz-excursion-modal .region-step .title-container {
    gap: 27px;
}

.quiz-excursion-modal .region-step .title {
    width: 540px;
    color: #303030;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 43.2px */
    text-transform: uppercase;
}

.quiz-excursion-modal .region-step .list {
    gap: 14px;
    width: 100%;
}

.quiz-excursion-modal .region-step .list .item {
    display: flex;
    flex: 1 0 0;
    height: 354px;
    padding: 12px 10px 10px 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border-radius: 10px;
    border: 1px solid #48924E;
    background: #F5F8F4;
}

.quiz-excursion-modal .region-step .list .item:hover {
    border-color: #FF9C00;
}

.quiz-excursion-modal .region-step .list .item img {
    width: 156px;
    height: 156px;
    aspect-ratio: 1/1;
    align-self: center;
}

.quiz-excursion-modal .region-step .item-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    align-self: center;
    width: 187px;
}

.quiz-excursion-modal .region-step .item-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    align-self: stretch;
}

.quiz-excursion-modal .region-step .item-title {
    color: #579E5D;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 20px */
    text-transform: uppercase;
    width: 176px;
}

.quiz-excursion-modal .region-step .text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.quiz-excursion-modal .region-step .step-text {
    color: #4C4C4C;
    text-align: center;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 18px */
    white-space: nowrap;
}

.quiz-excursion-modal .region-step .place-text {
    color: #7B7B7B;
    text-align: center;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%; /* 18px */
}

.quiz-excursion-modal .region-step .date-container {
    display: flex;
    width: 187px;
    padding: 8px 10px;
    flex-direction: column;
    align-items: center;
    border-radius: 4px;
    background: #DAEBD4;
    gap: 4px;
}

.quiz-excursion-modal .region-step .date-container .date {
    color: #033012;
    text-align: center;
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: 13px; /* 76.471% */
}

.quiz-excursion-modal .region-step .date-container .time {
    color: #033012;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 13px;
}

.quiz-excursion-modal .region-step .item:hover {
    background: #FFFEF8;
}

.quiz-excursion-modal .region-step .item:hover .date-container {
    background: #F6EDE0;
}

.quiz-excursion-modal .region-step .item:hover .date-container .date,
.quiz-excursion-modal .region-step .item:hover .date-container .time {
    color: #63431D;
}


.quiz-excursion-modal .contact-step {
    width: 100%;
    padding: 60px 163px;
    gap: 50px;
}

.quiz-excursion-modal .contact-step .title-container {
    gap: 27px;
}

.quiz-excursion-modal .contact-step .title {
    width: 522px;
    color: #303030;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 43.2px */
    text-transform: uppercase;
}

.quiz-excursion-modal .contact-step .list {
    flex-wrap: wrap;
    width: 100%;
    gap: 22px 10px;

}

.quiz-excursion-modal .contact-step .list .item {
    flex: unset;
    width: calc((100% - 10px) / 2);
    height: 128px;
    border-radius: 20px;
    border: 1px solid rgba(70, 70, 70, 0.40);
    padding: 17px;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
}

.quiz-excursion-modal .contact-step .list .item > span {
    width: 17px;
    height: 17px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: 2px solid #48924E;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz-excursion-modal .contact-step .list .item > span > span {
    width: 9px;
    height: 9px;
    background: #48924E;
    border-radius: 50%;
    display: none;
}

.quiz-excursion-modal .contact-step .list .item:hover {
    border-color: #48924E;
}

.quiz-excursion-modal .contact-step .list .item:hover > span > span {
    display: block;
}

.quiz-excursion-modal .contact-step .list .item img {
    align-self: center;
    width: unset;
    height: unset;
    aspect-ratio: unset;
}


.quiz-excursion-modal .contact-step .list .item .text-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-self: center;
    align-items: flex-start;
}

.quiz-excursion-modal .contact-step .list .item .item-title {
    color: #272727;
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px; /* 100% */
}

.quiz-excursion-modal .contact-step .list .item .text {
    color: #8B8B8B;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 16px */
}


.quiz-excursion-modal .form-step {
    width: 100%;
    padding: 50px 217px;
    gap: 44px;
}


.quiz-excursion-modal .form-step .title-container {
    gap: 0;
}

.quiz-excursion-modal .form-step .title {
    color: #303030;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%; /* 43.2px */
    text-transform: uppercase;
}

.quiz-excursion-modal .form-step .text {
    color: #48924E;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%; /* 43.2px */
    text-transform: uppercase;
}

.quiz-excursion-modal .form-step .list {
    justify-content: space-between;
    width: 100%;
}

.quiz-excursion-modal .form-step form {
    width: 354px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}

.quiz-excursion-modal .form-step .form-top {
    display: flex;
    flex-direction: column;
    gap: 21px;
    align-items: center;
}

.quiz-excursion-modal .form-step .form-title-container {
    display: flex;
    flex-direction: column;
    gap: 19px;
    align-items: center;
}

.quiz-excursion-modal .form-step .form-title {
    color: #303030;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%; /* 31.2px */
}

.quiz-excursion-modal .form-step .form-text {
    color: #303030;
    text-align: center;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%; /* 19.5px */
}

.quiz-excursion-modal .form-step .text-limit {
    color: #746451;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 15px; /* 107.143% */
}

.quiz-excursion-modal .form-step .text-limit span {
    color: #746451;
    font-size: 14px;
    font-style: italic;
    font-weight: 500;
    line-height: 15px;
}

.quiz-excursion-modal .form-step .form-bottom {
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: center;
}

.quiz-excursion-modal .form-step .input-container {
    width: 340px;
    height: 63px;
    border-radius: 14px;
    border: 1px solid rgba(70, 70, 70, 0.4);
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quiz-excursion-modal .form-step .input-container img {
    width: 45px;
    height: 45px;
    aspect-ratio: 1/1;
}

.quiz-excursion-modal .form-step .input-container input {
    width: calc(100% - 55px);
    color: #272727;
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 100% */
    border: none;
    outline: none;
    background: transparent;
}

.quiz-excursion-modal .form-step .btn-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.quiz-excursion-modal .form-step button {
    display: flex;
    width: 342px;
    height: 50px;
    padding: 15px 40px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 6px;
    background: #FF9C00;
    box-shadow: 0 -4px 11px 0 rgba(0, 0, 0, 0.20) inset, 0 6px 8px 0 rgba(255, 255, 255, 0.45) inset;
    color: #FFF;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 26.58px; /* 120.82% */
}

.quiz-excursion-modal .form-step button:hover {
    background: #FFA326;
}

.quiz-excursion-modal .form-step .btn-container p {
    color: #2F2F2F;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 17px; /* 141.667% */
    opacity: 0.5;
}

.quiz-excursion-modal .form-step .btn-container p a {
    color: #2F2F2F;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 17px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.quiz-excursion-modal .form-step .card {
    display: flex;
    width: 322px;
    height: 381px;
    padding: 24px 10px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border-radius: 10px;
    border: 2px solid #FF9C00;
    background: #FFFEF8;
}

.quiz-excursion-modal .form-step .card img {
    width: 156px;
    height: 156px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
}

.quiz-excursion-modal .form-step .item-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    align-self: center;
    width: 187px;
}

.quiz-excursion-modal .form-step .item-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    align-self: stretch;
}

.quiz-excursion-modal .form-step .item-title {
    color: #579E5D;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    text-transform: uppercase;
    white-space: nowrap;
}

.quiz-excursion-modal .form-step .text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.quiz-excursion-modal .form-step .step-text {
    color: #4C4C4C;
    text-align: center;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    white-space: nowrap;
}

.quiz-excursion-modal .form-step .place-text {
    color: #7B7B7B;
    text-align: center;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
}

.quiz-excursion-modal .form-step .date-container {
    display: flex;
    width: 187px;
    padding: 8px 10px;
    flex-direction: column;
    align-items: center;
    border-radius: 4px;
    background: #F6EDE0;
    gap: 4px;
}

.quiz-excursion-modal .form-step .date-container .date {
    color: #63431D;
    text-align: center;
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: 13px;
}

.quiz-excursion-modal .form-step .date-container .time {
    color: #63431D;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 13px;
}

@media (max-width: 1150px) {
    .quiz-excursion-modal .modal-container {
        width: 320px;
    }

    .quiz-excursion-modal .modal-content {
        height: auto;
    }

    .quiz-excursion-modal .step[data-step="1"] {
        padding: 44px 28px 23px;
        gap: 16px;
        width: 100%;
    }

    .quiz-excursion-modal .modal-close {
        width: 32px;
        height: 32px;
        top: 8px;
        right: 8px;
    }

    .quiz-excursion-modal .modal-close img {
        width: 100%;
        height: 100%;
    }

    .quiz-excursion-modal .title-container {
        gap: 20px;
        width: 100%;
    }

    .quiz-excursion-modal .title,
    .quiz-excursion-modal .title span {
        font-size: 23px;
        font-style: normal;
        font-weight: 500;
        line-height: 120%;
        width: auto;
    }

    .quiz-excursion-modal .title-container .text {
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: 23px;
    }

    .quiz-excursion-modal .list {
        flex-direction: column;
        gap: 15px;
    }

    .quiz-excursion-modal .list .item > img {
        height: auto;
        aspect-ratio: 259 / 100;
        object-fit: cover;
        object-position: center 40%;
        border-radius: 10px 10px 0 0;
    }

    .quiz-excursion-modal .list .item:nth-child(1) > img {
        object-position: center 10%;
    }

    .quiz-excursion-modal .list .item .item-footer {
        padding: 12px 5px;
    }

    .quiz-excursion-modal .list .item:hover .item-footer {
        border: 1px solid #FF9C00;
        padding: 11px 5px 12px;
    }

    .quiz-excursion-modal .region-step .list .item {
        padding: 10px;
        flex-direction: row;
        gap: 8px;
    }

    .quiz-excursion-modal .region-step .list .item > img {
        width: 70px;
        height: 70px;
        aspect-ratio: 1/1;
    }

    .quiz-excursion-modal .region-step .item-title-container {
        order: 2;
        gap: 7px;
        align-self: flex-start;
        align-items: flex-start;
    }

    .quiz-excursion-modal .region-step .item-content {
        width: auto;
        gap: 7px;
    }

    .quiz-excursion-modal .region-step .item-title {
        color: #222;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 100%; /* 16px */
        text-transform: uppercase;
        align-self: flex-start;
        text-align: left;
        white-space: nowrap;
    }

    .quiz-excursion-modal .region-step .date-container {
        background: transparent;
        display: inline-flex;
        flex-direction: row;
        padding: 0;
    }

    .quiz-excursion-modal .region-step .item:hover .date-container {
        background: transparent;
    }

    .quiz-excursion-modal .region-step .date-container .date,
    .quiz-excursion-modal .region-step .date-container .time {
        color: #7B7B7B;
        font-size: 13px;
        font-style: normal;
        font-weight: 700;
        line-height: 15px; /* 115.385% */
    }

    .quiz-excursion-modal .region-step {
        padding: 40px 10px 37px;
        gap: 16px;
    }

    .quiz-excursion-modal .region-step .title {
        width: 237px;
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: 22px;
    }

    .quiz-excursion-modal .title-container .text {
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 22px;
    }

    .quiz-excursion-modal .region-step .text-container {
        align-items: flex-start;
    }

    .quiz-excursion-modal .region-step .step-text {
        font-size: 13px;
        font-style: normal;
        font-weight: 700;
        line-height: 15px;
    }

    .quiz-excursion-modal .region-step .place-text {
        font-size: 13px;
        font-style: normal;
        font-weight: 700;
        line-height: 15px;
    }

    .quiz-excursion-modal .contact-step {
        padding: 40px 15px 114px;
        gap: 27px;
    }

    .quiz-excursion-modal .contact-step .title {
        width: 209px;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 22px;
    }

    .quiz-excursion-modal .contact-step .title-container .text {
        display: none;
    }

    .quiz-excursion-modal .contact-step .list {
        gap: 10px;
    }

    .quiz-excursion-modal .contact-step .list .item {
        width: 100%;
        height: 84px;
        padding: 12px;
        gap: 6px;
    }

    .quiz-excursion-modal .contact-step .list .item > span {
        display: none;
    }

    .quiz-excursion-modal .contact-step .list .item img {
        width: 60px;
        height: 60px;
        aspect-ratio: 1/1;
    }

    .quiz-excursion-modal .contact-step .list .item .item-title {
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: 100%;
    }

    .quiz-excursion-modal .contact-step .list .item .text {
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 12px;
    }

    .quiz-excursion-modal .form-step {
        padding: 46px 9px 9px;
        gap: 13px;
    }

    .quiz-excursion-modal .form-step .title {
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: 22px;
    }

    .quiz-excursion-modal .form-step .title-container {
        gap: 13px;
    }

    .quiz-excursion-modal .form-step .title-container .text {
        font-size: 30px;
        font-style: normal;
        font-weight: 500;
        line-height: 100%;
    }

    .quiz-excursion-modal .form-step .list {
        flex-direction: column;
        gap: 11px;
    }

    .quiz-excursion-modal .form-step .card {
        width: 100%;
        padding: 16px 24px 11px 14px;
        display: grid;
        grid-template-columns: 1fr 100px;
        column-gap: 15px;
        row-gap: 6px;
        align-items: center;
        height: auto;
    }

    .quiz-excursion-modal .form-step .card > img {
        width: 100px;
        height: 100px;
        aspect-ratio: 1/1;
        grid-column: 2;
        grid-row: 1;
    }

    .quiz-excursion-modal .form-step .card .item-content,
    .quiz-excursion-modal .form-step .card .item-title-container {
        display: contents;
    }

    .quiz-excursion-modal .form-step .date-container {
        display: none;
    }

    .quiz-excursion-modal .form-step .item-title {
        display: block;
        grid-column: 2;
        grid-row: 2;
        width: 100px;
        font-size: 14px;
        line-height: 120%;
        font-weight: 700;
        color: #222;
        text-align: center;
        text-transform: uppercase;
        white-space: wrap;
    }

    .quiz-excursion-modal .form-step .text-container {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .quiz-excursion-modal .form-step .text-container {
        gap: 17px;
        align-items: flex-start;
    }

    .quiz-excursion-modal .form-step .step-text {
        white-space: wrap;
        text-align: left;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 120%;
        color: #7B7B7B;
    }

    .quiz-excursion-modal .form-step .step-text span {
        display: block;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 100%; /* 14px */
        text-transform: uppercase;
        color: #222;
    }

    .quiz-excursion-modal .form-step .place-text {
        color: #222;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 120%;
        text-transform: uppercase;
        text-align: left;
    }

    .quiz-excursion-modal .form-step .place-text::before {
        content: 'Место:';
        display: block;
        font-weight: 400;
        text-transform: none;
        line-height: 120%;
        color: #7B7B7B;
    }

    .quiz-excursion-modal .form-step form {
        display: contents;
    }

    .quiz-excursion-modal .form-step .form-top,
    .quiz-excursion-modal .form-step .form-title-container {
        display: contents;
    }

    .quiz-excursion-modal .form-step .form-text {
        font-size: 15px;
        font-style: normal;
        font-weight: 500;
        line-height: 130%;
        order: 3;
    }

    .quiz-excursion-modal .form-step .form-title {
        order: 1;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 130%;
    }

    .quiz-excursion-modal .form-step .card {
        order: 2;
    }

    .quiz-excursion-modal .form-step .text-limit {
        order: 4;
    }

    .quiz-excursion-modal .form-step .form-bottom {
        order: 5;
        gap: 15px;
    }

    .quiz-excursion-modal .form-step .form-text span {
        display: none;
    }

    .quiz-excursion-modal .form-step .input-container {
        width: 100%;

    }

    .quiz-excursion-modal .form-step .btn-container {
        gap: 5px;
    }

    .quiz-excursion-modal .form-step button {
        width: 296px;
        height: 50px;
        white-space: nowrap;
    }

    .quiz-excursion-modal .form-step .btn-container p {
        width: 278px;
        font-size: 10px;
        font-style: normal;
        font-weight: 400;
        line-height: 16px;
    }

    .quiz-excursion-modal .form-step .btn-container p a {
        font-size: 10px;
        font-style: normal;
        font-weight: 400;
        line-height: 16px;
    }

}

