.pbform-contact {
    padding: 42px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
    scroll-margin-top: 30px;
}

.pbform-contact-header {
    max-width: 760px;
    margin: 0 auto 32px;
    text-align: center;
}

.pbform-contact-title {
    margin: 0;
    font-family: 'dinpro-light', sans-serif;
    font-weight: normal;
    font-size: 34px;
    line-height: 1.2;
    color: #333333;
    text-transform: uppercase;
}

.pbform-contact-text {
    margin: 14px 0 0;
    font-size: 17px;
    line-height: 1.65;
    color: #555555;
}

.pbform-quote {
    --pbform-accent: #198641;
    --pbform-accent-hover: #126d34;
    --pbform-accent-focus: rgba(25, 134, 65, 0.14);
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    text-align: left;
}

.pbform-quote *,
.pbform-quote *::before,
.pbform-quote *::after {
    box-sizing: border-box;
}

.pbform-field {
    width: 50%;
    margin-bottom: 22px;
    padding: 0 10px;
}

.pbform-field-full {
    width: 100%;
}

.pbform-label {
    display: block;
    margin-bottom: 8px;
    font-family: 'pt-sans-bold', sans-serif;
    font-weight: normal;
    font-size: 15px;
    color: #333333;
}

.pbform-required {
    color: var(--pbform-accent);
}

.pbform-input {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 16px;
    color: #333333;
    background: #ffffff;
    border: 1px solid #c8c8c8;
    border-radius: 6px;
}

.pbform-input:focus {
    outline: 0;
    border-color: var(--pbform-accent);
    box-shadow: 0 0 0 3px var(--pbform-accent-focus);
}

.pbform-textarea {
    min-height: 150px;
    resize: vertical;
}

.pbform-invalid {
    border-color: #c0392b;
}

.pbform-hint {
    display: block;
    margin-top: 7px;
    font-size: 13px;
    color: #666666;
}

.pbform-error {
    margin-top: 6px;
    font-size: 14px;
    color: #c0392b;
}

.pbform-error:empty {
    display: none;
}

.pbform-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-family: 'pt-sans-bold', sans-serif;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.6;
    cursor: pointer;
}

.pbform-checkbox input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    accent-color: var(--pbform-accent);
}

.pbform-checkbox a {
    font-family: 'pt-sans-bold', sans-serif;
    font-weight: normal;
    color: var(--pbform-accent);
}

.pbform-message {
    width: calc(100% - 20px);
    margin: 0 10px 22px;
    padding: 12px 14px;
    font-size: 15px;
    color: #922b21;
    background: #fdecea;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
}

.pbform-message[hidden] {
    display: none;
}

.pbform-actions {
    width: 100%;
    padding: 0 10px;
    text-align: center;
}

.pbform-submit {
    min-width: 190px;
    padding: 15px 30px;
    font-family: 'pt-sans-bold', sans-serif;
    font-weight: normal;
    font-size: 16px;
    color: #ffffff;
    background: var(--pbform-accent);
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

.pbform-submit:hover,
.pbform-submit:focus {
    background: var(--pbform-accent-hover);
}

.pbform-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.pbform-success {
    width: calc(100% - 20px);
    margin: 0 10px 22px;
    padding: 20px 24px;
    font-size: 17px;
    color: #1e6b34;
    background: #eaf7ee;
    border: 1px solid #b7e1c1;
    border-radius: 6px;
}

.pbform-success[hidden] {
    display: none;
}

@media (max-width: 700px) {
    .pbform-field {
        width: 100%;
    }

    .pbform-submit {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .pbform-contact {
        padding: 25px 22px;
    }

    .pbform-contact-title {
        font-size: 26px;
    }
}
