  /* ================================================= */
/* ================= BOOK POPUP ================= */
/* ================================================= */

.k27-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .35s ease;
}


/* ================= ACTIVE ================= */

.k27-popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* ================= OVERLAY ================= */

.k27-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 10, 5, .78);
    backdrop-filter: blur(5px);
}


/* ================= POPUP BOX ================= */

.k27-popup-box {
    position: relative;
    z-index: 2;

    width: min(100%, 1050px);
    
    display: grid;
    grid-template-columns: 47% 53%;

    background: #fff;

    border-radius: 18px;
    overflow: hidden;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, .35);

    transform: translateY(30px) scale(.96);

    transition: .4s ease;
}


/* ================= POPUP ACTIVE BOX ================= */

.k27-popup.active .k27-popup-box {
    transform: translateY(0) scale(1);
}


/* ================================================= */
/* ================= CLOSE BUTTON ================= */
/* ================================================= */

.k27-popup-close {

    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #54250f;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}


.k27-popup-close:hover {

    background: #e96908;

    transform: rotate(90deg);

}


/* ================================================= */
/* ================= LEFT IMAGE ================= */
/* ================================================= */

.k27-popup-left {

    position: relative;

    overflow: hidden;

    min-height: 100%;
}


.k27-popup-left img {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

}


/* ================= IMAGE DARK ================= */

.k27-popup-dark {

    position: absolute;

    inset: 0;

    background: linear-gradient(180deg, rgb(4 3 2 / 5%) 4%, rgb(46 29 16) 62%, rgba(30, 10, 3, .92) 100%);

}


/* ================================================= */
/* ================= LEFT CONTENT ================= */
/* ================================================= */

.k27-popup-content {

    position: absolute;

    inset: 0;

    z-index: 3;

    padding: 43px 23px 20px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    color: #fff;

}


/* ================= TAG ================= */

.k27-popup-tag {

    align-self: flex-end;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 14px;

    background: #ed6908;

    border-radius: 30px;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .4px;

}


.k27-popup-tag i {

    font-size: 14px;

}


/* ================================================= */
/* ================= MAIN TEXT ================= */
/* ================================================= */

.k27-popup-text {

    margin-top: auto;

    margin-bottom: 30px;

}


.k27-popup-text h2 {

    margin: 0 0 18px;

    font-family: Georgia, serif;

    font-size: 47px;

    line-height: .98;

    font-weight: 700;

}


.k27-popup-text h2 span {

    display: block;

    color: #ffbd18;

}


.k27-popup-text p {

    max-width: 420px;

    margin: 0;

    font-size: 14px;

    line-height: 1.65;

    color: rgba(255,255,255,.94);

}


/* ================================================= */
/* ================= FEATURES ================= */
/* ================================================= */

.k27-popup-features {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 8px;

}


.k27-feature {

    text-align: center;

    padding: 0 7px;

    border-right: 1px solid rgba(255,255,255,.35);

}


.k27-feature:last-child {

    border-right: none;

}


.k27-feature-icon {

    width: 48px;
    height: 48px;

    margin: 0 auto 8px;

    border: 2px solid #f59a12;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #ffad0b;

    font-size: 17px;

}


.k27-feature span {

    display: block;

    font-size: 11px;

    line-height: 1.3;

    color: #fff;

}


/* ================================================= */
/* ================= BOTTOM ================= */
/* ================================================= */

.k27-popup-bottom {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 22px;

}


.k27-popup-bottom span {

    height: 1px;

    flex: 1;

    background: #df8b18;

}


.k27-popup-bottom i {

    color: #ffae0c;

    font-size: 18px;

}


.k27-popup-motto {

    text-align: center;

    margin-top: 7px;

    color: #ffb30e;

    font-size: 9px;

    letter-spacing: 3px;

    font-weight: 700;

}


/* ================================================= */
/* ================= RIGHT FORM ================= */
/* ================================================= */

.k27-popup-right {

    background: #fffdf9;

    padding: 5px 28px 15px;

    overflow-y: auto;

}


/* ================= FORM HEADING ================= */

.k27-form-head small {

    color: #e65f09;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.k27-form-head h2 {

    margin: 7px 0 5px;

    color: #3d1d0d;

    font-family: Georgia, serif;

    font-size: 39px;

    line-height: 1.05;

}


.k27-form-head h2 strong {

    color: #e55f09;

}


.k27-form-head p {

    margin: 0 0 25px;

    color: #777;

    font-size: 12px;

    line-height: 1.5;

    max-width: 400px;

}


/* ================================================= */
/* ================= FORM ROW ================= */
/* ================================================= */

.k27-form-row {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;

    margin-bottom: 17px;

}


/* ================= FIELD ================= */

.k27-field label {

    display: block;

    margin-bottom: 7px;

    color: #432212;

    font-size: 11px;

    font-weight: 800;

}


/* ================================================= */
/* ================= INPUT ================= */
/* ================================================= */

.k27-input {

    position: relative;

    height: 37px;

    display: flex;

    align-items: center;

    padding: 0 13px;

    background: #fff;

    border: 1px solid #ded8d3;

    border-radius: 9px;

    transition: .25s ease;

}


.k27-input:focus-within {

    border-color: #e66a0a;

    box-shadow:
        0 0 0 3px rgba(230,106,10,.08);

}


.k27-input > i:first-child {

    width: 23px;

    margin-right: 9px;

    color: #66574e;

    font-size: 13px;

}


.k27-input input,
.k27-input select {

    width: 100%;

    height: 100%;

    border: 0;

    outline: 0;

    background: transparent;

    color: #555;

    font-family: inherit;

    font-size: 12px;

}


.k27-input input::placeholder {

    color: #999;

}


.k27-input select {

    appearance: none;

    cursor: pointer;

}


.k27-arrow {

    width: auto !important;

    margin: 0 !important;

    font-size: 9px !important;

    color: #4e4038 !important;

}


/* ================================================= */
/* ================= MESSAGE ================= */
/* ================================================= */

.k27-message-field {

    margin-top: 2px;

}


.k27-textarea {

    position: relative;

    height: 48px;

    padding: 13px;

    display: flex;

    align-items: flex-start;

    background: #fff;

    border: 1px solid #ded8d3;

    border-radius: 9px;

}


.k27-textarea > i {

    margin-right: 10px;

    margin-top: 2px;

    color: #66574e;

    font-size: 13px;

}


.k27-textarea textarea {

    width: 100%;

    height: 100%;

    border: 0;

    outline: 0;

    resize: none;

    background: transparent;

    font-family: inherit;

    font-size: 12px;

    color: #555;

}


.k27-textarea textarea::placeholder {

    color: #999;

}


/* ================================================= */
/* ================= SUBMIT ================= */
/* ================================================= */

.k27-submit {

    width: 100%;

    height: 57px;

    margin-top: 20px;

    border: 0;

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            #ff7908,
            #ed5708
        );

    color: #fff;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    font-size: 16px;

    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(230,88,8,.18);

    transition: .3s ease;

}


.k27-submit:hover {

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(230,88,8,.28);

}


.k27-submit i {

    font-size: 15px;

}


/* ================================================= */
/* ================= SAFE NOTE ================= */
/* ================================================= */

.k27-safe {

    display: flex;

    align-items: flex-start;

    gap: 11px;

    margin-top: 22px;

    color: #777;

}


.k27-safe > i {

    color: #76685f;

    font-size: 19px;

}


.k27-safe div {

    display: flex;

    flex-direction: column;

    gap: 3px;

    font-size: 10px;

    line-height: 1.3;

}


/* ================================================= */
/* ================= TABLET ================= */
/* ================================================= */

@media (max-width: 900px) {

    .k27-popup-box {

        width: 95%;

        height: 620px;

    }

    .k27-popup-content {

        padding: 35px 28px 25px;

    }

    .k27-popup-text h2 {

        font-size: 38px;

    }

    .k27-popup-right {

        padding: 38px 28px 25px;

    }

    .k27-form-head h2 {

        font-size: 32px;

    }

}


/* ================================================= */
/* ================= MOBILE ================= */
/* ================================================= */

@media (max-width: 700px) {

    .k27-popup {

        padding: 10px;

        align-items: center;

    }


    .k27-popup-box {

        width: 100%;

        height: 92vh;

        max-height: 760px;

        display: block;

        overflow-y: auto;

        border-radius: 15px;

    }


    /* ================= LEFT ================= */

    .k27-popup-left {

        height: 290px;

        min-height: 290px;

    }


    .k27-popup-content {

        padding: 25px 22px 18px;

    }


    .k27-popup-tag {

        font-size: 7px;

        padding: 6px 10px;

    }


    .k27-popup-text {

        margin-bottom: 15px;

    }


    .k27-popup-text h2 {

        font-size: 31px;

        margin-bottom: 9px;

    }


    .k27-popup-text p {

        font-size: 9px;

        line-height: 1.45;

        max-width: 290px;

    }


    .k27-popup-features {

        gap: 2px;

    }


    .k27-feature-icon {

        width: 30px;

        height: 30px;

        font-size: 11px;

        margin-bottom: 4px;

    }


    .k27-feature span {

        font-size: 7px;

    }


    .k27-popup-motto {

        font-size: 6px;

        letter-spacing: 2px;

    }


    /* ================= RIGHT ================= */

    .k27-popup-right {

        padding: 28px 20px 25px;

        overflow: visible;

    }


    .k27-form-head h2 {

        font-size: 30px;

    }


    .k27-form-head p {

        font-size: 11px;

        margin-bottom: 20px;

    }


    .k27-form-row {

        grid-template-columns: 1fr;

        gap: 12px;

        margin-bottom: 12px;

    }


    .k27-input {

        height: 50px;

    }


    .k27-submit {

        height: 52px;

    }


    .k27-popup-close {

        top: 8px;

        right: 8px;

        width: 35px;

        height: 35px;

        font-size: 23px;

    }

}