.projects-cta {
    padding-bottom: 160px;
}

.projects-cta__wrap {
    display: grid;
    grid-template-columns: 680px 720px;
    min-height: 645px;
    background: var(--accent);
    overflow: hidden;
}

.projects-cta__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 40px 80px 80px;
}

.projects-cta__tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    height: 36px;
    padding: 10px 16px 10px 15px;
    border-left: 3px solid var(--black);
    background: var(--white);
    color: var(--black-70);
    font-family: var(--font-onest);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.projects-cta__tag::after {
    content: '';
    position: absolute;
    top: 0;
    right: -15px;
    width: 15px;
    height: 100%;
    background: var(--white);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.projects-cta__title {
    margin: 40px 0 20px;
    color: var(--black);
    font-family: var(--font-plus);
    font-size: 39px;
    font-weight: 700;
    line-height: 1;
    text-transform: capitalize;
}

.projects-cta__desc {
    width: 560px;
    max-width: 100%;
    margin: 0 0 40px;
    color: var(--black);
    font-family: var(--font-onest);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
}

.projects-cta__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 560px;
    max-width: 100%;
}

.section-get-started .wpcf7-form {
    position: relative;
}

.section-get-started .wpcf7 p {
    margin: 0;
}

.section-get-started .wpcf7-form-control-wrap {
    flex: 1;
    width: 100%;
}

.projects-cta__fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.projects-cta__row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.projects-cta__field {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    border-bottom: 1px solid var(--black-30);
    padding: 20px 0;
}

.projects-cta__field--wide {
    width: 100%;
    flex: none;
}

.projects-cta__field input,
.projects-cta__field textarea {
    flex: 1;
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--black);
    font-family: var(--font-onest);
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    outline: none;
    resize: none;
}

.section-get-started .wpcf7 input[type="url"],
.section-get-started .wpcf7 input[type="email"],
.section-get-started .wpcf7 input[type="tel"],
.section-get-started .wpcf7 input[type="text"],
.section-get-started .wpcf7 textarea {
    flex: 1;
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--black);
    font-family: var(--font-onest);
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    outline: none;
    resize: none;
}

.projects-cta__field textarea {
    min-height: 80px;
    line-height: 1;
}

.projects-cta__field input::placeholder,
.projects-cta__field textarea::placeholder {
    color: var(--black-30);
}

.section-get-started .wpcf7 input::placeholder,
.section-get-started .wpcf7 textarea::placeholder {
    color: var(--black-30);
}

.projects-cta__privacy {
    max-width: 100%;
    margin: 0;
    color: rgba(51, 54, 57, 0.7);
    font-family: var(--font-onest);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.projects-cta__privacy a {
    text-decoration: underline;
}

.projects-cta__field.is-invalid {
    border-bottom-color: #c63b3b;
}

.projects-cta__field input.is-invalid {
    color: #c63b3b;
}

.projects-cta__field:has(.wpcf7-not-valid) {
    border-bottom-color: #c63b3b;
}

.section-get-started .wpcf7-not-valid-tip {
    display: none;
}

.projects-cta__notice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-onest);
    font-size: 14px;
    line-height: 1.4;
}

.projects-cta__notice[hidden] {
    display: none !important;
}

.projects-cta__notice--loading {
    color: var(--black-70);
}

.projects-cta__notice--success {
    color: var(--black);
}

.section-get-started .wpcf7 form .wpcf7-response-output {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 14px;
    border: 0;
    border-radius: 8px;
    font-family: var(--font-onest);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.section-get-started .wpcf7 form.sent .wpcf7-response-output,
.section-get-started .wpcf7 form.invalid .wpcf7-response-output,
.section-get-started .wpcf7 form.failed .wpcf7-response-output,
.section-get-started .wpcf7 form.aborted .wpcf7-response-output,
.section-get-started .wpcf7 form.spam .wpcf7-response-output {
    opacity: 1;
    transform: translateY(0);
}

.section-get-started .wpcf7 form.sent .wpcf7-response-output {
    background: rgba(58, 130, 74, 0.12);
    color: #24542f;
}

.section-get-started .wpcf7 form.invalid .wpcf7-response-output,
.section-get-started .wpcf7 form.failed .wpcf7-response-output,
.section-get-started .wpcf7 form.aborted .wpcf7-response-output,
.section-get-started .wpcf7 form.spam .wpcf7-response-output {
    background: rgba(181, 55, 55, 0.12);
    color: #8f1f1f;
}

.projects-cta__spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(51, 54, 57, 0.2);
    border-top-color: var(--black);
    border-radius: 50%;
    animation: projects-spin 0.8s linear infinite;
}

.projects-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 0 40px;
    background: var(--black);
    cursor: pointer;
    text-decoration: none;
    align-self: flex-start;
    width: 226px;
    max-width: 100%;
    height: 50px;
    font-family: var(--font-plus);
    font-weight: 600;
    font-size: 16px;
    line-height: normal;
    color: var(--white);
    white-space: nowrap;
    clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%);
}

.projects-cta__button:disabled {
    cursor: default;
    opacity: 0.7;
}

@media (max-width: 991px) {
    .section-get-started .wpcf7 .projects-cta__form p:not(.projects-cta__privacy) {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        justify-content: center;
    }
    .section-get-started .projects-cta__button {
        width: 138px;
        max-width: 100%;
    }
}

.section-get-started .wpcf7-spinner {
    width: 16px;
    height: 16px;
    margin: 0 0 0 10px;
    background: transparent;
    border: 2px solid rgba(51, 54, 57, 0.2);
    border-top-color: var(--black);
    border-radius: 50%;
    opacity: 1;
    vertical-align: middle;
    animation: projects-spin 0.8s linear infinite;
}

.section-get-started .wpcf7-spinner::before {
    content: none;
}

.projects-cta__visual {
    position: relative;
    min-height: 645px;
    overflow: hidden;
}

.projects-cta__visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100%;
    background: var(--accent);
    clip-path: polygon(0 0, 0 100%, 100% 0);
}

.projects-cta__visual picture,
.projects-cta__visual img {
    display: block;
    width: 100%;
    height: 100%;
}

.projects-cta__visual img {
    object-fit: cover;
}

@keyframes projects-spin {
    to {
        transform: rotate(360deg);
    }
}
