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

.projects-cta__wrap {
    display: grid;
    grid-template-columns: 680px 720px;
    min-height: 645px;
    background: var(--second-bg);
    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;
}

.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;
}

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

.projects-cta__field {
    display: block;
    width: 270px;
    border-bottom: 1px solid rgba(51, 54, 57, 0.3);
}

.projects-cta__field--wide {
    width: 560px;
    max-width: 100%;
}

.projects-cta__field input,
.projects-cta__field textarea {
    width: 100%;
    border: 0;
    padding: 18px 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 {
    height: 100px;
    padding-top: 22px;
    line-height: 1.3;
}

.projects-cta__field input::placeholder,
.projects-cta__field textarea::placeholder {
    color: rgba(51, 54, 57, 0.3);
}

.projects-cta__privacy {
    width: 560px;
    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.35;
}

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

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

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

.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);
}

.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;
    align-self: center;
    flex: none;
    width: 178px;
    min-width: 178px;
    max-width: 178px;
    height: 50px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    background: var(--accent);
    color: var(--black);
    font-family: var(--font-plus);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
    cursor: pointer;
    white-space: nowrap;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}

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

.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-color: var(--second-bg);
    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);
    }
}
