.services-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s;
}
.services-modal.active {
    opacity: 1;
    visibility: visible;
}
.services-modal .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s;
    z-index: -1;
}
.services-modal.active .overlay {
    opacity: 1;
    visibility: visible;
}
.services-modal .close-modal {
    position: absolute;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    transition: all 0.25s;
}
.services-modal .close-modal svg {
    display: block;
}
.services-modal .close-modal svg path {
    transition: all 0.25s;
}
.services-modal .close-modal:hover {
    background-color: rgb(26, 36, 49);
}
.services-modal.close-modal:hover svg path {
    stroke: rgb(125, 51, 255);
}
.services-modal .modal-block {
    width: 100%;
    max-width: 525px;
    background: #ffffff;
    border-radius: 15px;
    background-size: cover;
    padding: 40px;
    position: relative;
    transform: scale(0.7);
    transition: all 0.35s;
}
.services-modal.active .modal-block {
    transform: scale(1);
}
.services-modal .modal-block h3 {
    margin-top: 0;
    margin-bottom: 40px;
    color: rgb(46, 45, 71);
    font-family: "Tektur", sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 120%;
    text-align: center;
}
.services-modal .services-form p {
    margin: 0;
}
.services-modal .services-form br {
    display: none;
}
.services-modal .services-form input[type="text"],
.services-modal .services-form input[type="email"],
.services-modal .services-form input[type="tel"] {
    height: 70px;
    width: 100%;
    border: 1px solid rgb(211, 219, 228);
    border-radius: 8px;
    background: rgb(255, 255, 255);
    padding: 0 15px;
    box-shadow: none;
    outline: none;
    color: rgb(59, 45, 71);
    font-family: "Golos", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 130%;
}
.services-modal .services-form .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 25px;
}
.services-modal .services-form input[type="text"]::-webkit-input-placeholder,
.services-modal .services-form input[type="email"]::-webkit-input-placeholder,
.services-modal .services-form input[type="tel"]::-webkit-input-placeholder {
    font-family: "Golos Text";
    color: rgba(170, 179, 193,0.6);
    font-size: 18px;
    font-weight: 400;
    line-height: 130%;
}
.services-modal .services-form input[type="text"]::-moz-placeholder,
.services-modal .services-form input[type="email"]::-moz-placeholder,
.services-modal .services-form input[type="tel"]::-moz-placeholder {
    font-family: "Golos Text";
    color: rgba(170, 179, 193,0.6);
    font-size: 18px;
    font-weight: 400;
    line-height: 130%;
}
.services-modal .services-form input[type="text"]:-moz-placeholder,
.services-modal .services-form input[type="email"]:-moz-placeholder,
.services-modal .services-form input[type="tel"]:-moz-placeholder {
    font-family: "Golos Text";
    color: rgba(170, 179, 193,0.6);
    font-size: 18px;
    font-weight: 400;
    line-height: 130%;
}
.services-modal .services-form input[type="text"]:-ms-input-placeholder,
.services-modal .services-form input[type="email"]:-ms-input-placeholder,
.services-modal .services-form input[type="tel"]:-ms-input-placeholder {
    font-family: "Golos Text";
    color: rgba(170, 179, 193,0.6);
    font-size: 18px;
    font-weight: 400;
    line-height: 130%;
}
.services-modal .services-form input[type="text"]:focus,
.services-modal .services-form input[type="email"]:focus,
.services-modal .services-form input[type="tel"]:focus {
    border-color: rgb(125, 51, 255);
}
.services-modal .services-form input[type="submit"] {
    width: 100%;
    height: 70px;
    border-radius: 6px;
    background: rgb(26, 36, 49);
    cursor: pointer;
    padding: 0 25px;
    color: rgb(236, 236, 241);
    font-family: "Tektur", sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 120%;
    text-align: center;
    transition: all 0.25s;
    box-shadow: none;
    outline: none;
    border: 0;
}
.services-modal .services-form input[type="submit"]:hover {
    background: rgb(125, 51, 255);
}
.services-modal .services-form .link-block {
    position: relative;
    width: 100%;
    margin-top: 40px;
}
.services-modal .services-form .link-block svg {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
}
.services-modal .services-form .link-block svg path {
    transition: all 0.25s;
}
.services-modal .services-form .link-block:hover svg path {
    fill: rgb(26, 36, 49);
}
.services-modal .services-form input[type="checkbox"] {
    display: none;
}
.services-modal .services-form span {
    margin: 0;
}
.services-modal .services-form .wpcf7-list-item-label {
    padding-left: 35px;
    color: rgb(48, 47, 47);
    font-size: 18px;
    font-weight: 400;
    line-height: 130%;
    cursor: pointer;
    display: block;
    width: 100%;
}
.services-modal .services-form .wpcf7-list-item-label::before {
    width: 26px;
    height: 26px;
    position: absolute;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(211, 219, 228);
    top: -2px;
    left: 0;
    box-sizing: border-box;
    border-radius: 6px;
}
.services-modal .services-form .wpcf7-list-item-label::after {
    position: absolute;
    width: 17px;
    height: 14px;
    background: url("/wp-content/themes/landing-page/images/project-form-check.svg") no-repeat center ;
    top: 4px;
    left: 5px;
    transition: all 0.25s;
    opacity: 0;
}
.services-modal .services-form input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
    opacity: 1;
}
.services-modal .services-form .checkbox-block span {
    margin: 0;
}
.services-modal .services-form .wpcf7-not-valid-tip {
    font-size: 18px;
    font-weight: 400;
    line-height: 130%;
    margin-top: 5px;
}
.services-modal .services-form .checkbox-block .wpcf7-not-valid-tip {
    margin-top: 5px;
}



@media (max-width: 620px) {
    .services-modal .modal-block {
        max-width: none;
        padding: 40px 20px 20px;
        height: 100%;
    }
    .services-modal .modal-block h3 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .services-modal .services-form input[type="text"],
    .services-modal .services-form input[type="email"],
    .services-modal .services-form input[type="tel"] {
        height: 60px;
    }
    .services-modal .services-form input[type="submit"] {
        height: 60px;
    }
}