.cf_wrapper {
    max-width: 900px;
    margin: auto;
    padding: 2rem;
    box-sizing: border-box;

    background: #fff;
    border-radius: 20px;
    border: 1px solid #ddd;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.cf {
    width: 100%;
}

.cf a {
    text-decoration: none;
    border-bottom: 1px dotted currentColor;
}

.row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.row > div:first-child {
    font-weight: 600;
    font-size: 0.95rem;
}

.cf input,
.cf textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;

    transition: all .2s ease;
}

.cf input:focus,
.cf textarea:focus {
    outline: none;
    border-color: #1bbf3a;
    box-shadow: 0 0 0 4px rgba(27,191,58,0.15);
}

.cf textarea {
    min-height: 180px;
    resize: vertical;
}

.ds {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cf input[type="checkbox"] {
    width: 24px;
    height: 24px;
    min-width: 24px;
    margin-top: 2px;
    accent-color: #1bbf3a;
}

input[type="submit"] {
    width: 100%;
    padding: 16px !important;
    border: none;
    border-radius: 10px;
    background: #1bbf3a;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;

    transition: all .2s ease;
}

input[type="submit"]:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.wpcf7-submit:disabled {
    background: #999;
    cursor: not-allowed;
}

.wpcf7-not-valid-tip {
    color: #d30000;
    font-size: 0.85rem;
    margin-top: 5px;
}

.cf_headline {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cf_hint {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {

    .cf_wrapper {
        padding: 1.2rem;
        border-radius: 15px;
    }

    .cf_headline {
        font-size: 1.6rem;
    }

    .cf textarea {
        min-height: 140px;
    }

}