.hhgs-consultation-form-wrap,
.hhgs-consultation-form {
    --hhgs-border: #d7ded8;
    --hhgs-ink: #1f2a24;
    --hhgs-muted: #5d6b62;
    --hhgs-surface: #ffffff;
    --hhgs-accent: #3f7d4f;
    --hhgs-accent-dark: #2e613c;
    --hhgs-error: #8f1f1f;
    --hhgs-error-bg: #fff3f3;
    --hhgs-success: #245f36;
    --hhgs-success-bg: #f0fbf3;
    color: var(--hhgs-ink);
    max-width: 860px;
    width: 100%;
}

.hhgs-consultation-form-wrap {
    max-width: 860px;
}

.hhgs-consultation-form *,
.hhgs-consultation-form *::before,
.hhgs-consultation-form *::after,
.hhgs-consultation-form-wrap *,
.hhgs-consultation-form-wrap *::before,
.hhgs-consultation-form-wrap *::after {
    box-sizing: border-box;
}

.hhgs-consultation-form__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hhgs-consultation-form__field,
.hhgs-consultation-form__fieldset {
    margin: 0 0 20px;
}

.hhgs-consultation-form label,
.hhgs-consultation-form legend {
    color: var(--hhgs-ink);
    display: block;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 8px;
}

.hhgs-consultation-form label span,
.hhgs-consultation-form legend span {
    color: var(--hhgs-error);
    margin-left: 2px;
}

.hhgs-consultation-form input[type="text"],
.hhgs-consultation-form input[type="email"],
.hhgs-consultation-form select,
.hhgs-consultation-form textarea {
    background: var(--hhgs-surface);
    border: 1px solid var(--hhgs-border);
    border-radius: 6px;
    color: var(--hhgs-ink);
    font: inherit;
    line-height: 1.4;
    min-height: 46px;
    padding: 10px 12px;
    width: 100%;
}

.hhgs-consultation-form textarea {
    min-height: 132px;
    resize: vertical;
}

.hhgs-consultation-form input:focus,
.hhgs-consultation-form select:focus,
.hhgs-consultation-form textarea:focus {
    border-color: var(--hhgs-accent);
    box-shadow: 0 0 0 3px rgba(63, 125, 79, 0.16);
    outline: none;
}

.hhgs-consultation-form__fieldset {
    border: 0;
    padding: 0;
}

.hhgs-consultation-form__choices {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hhgs-consultation-form__choice {
    align-items: flex-start;
    border: 1px solid var(--hhgs-border);
    border-radius: 6px;
    cursor: pointer;
    display: flex !important;
    gap: 10px;
    margin: 0 !important;
    padding: 11px 12px;
}

.hhgs-consultation-form__choice input {
    flex: 0 0 auto;
    margin: 3px 0 0;
}

.hhgs-consultation-form__choice span {
    color: var(--hhgs-ink);
    font-weight: 500;
    line-height: 1.35;
}

.hhgs-consultation-form__button {
    background: var(--hhgs-accent);
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    line-height: 1.2;
    min-height: 46px;
    padding: 13px 20px;
    text-align: center;
}

.hhgs-consultation-form__button:hover,
.hhgs-consultation-form__button:focus {
    background: var(--hhgs-accent-dark);
    color: #ffffff;
}

.hhgs-consultation-form__message {
    border-radius: 6px;
    margin: 0 0 20px;
    padding: 14px 16px;
}

.hhgs-consultation-form__message p {
    margin: 0 0 8px;
}

.hhgs-consultation-form__message ul {
    margin: 0;
    padding-left: 20px;
}

.hhgs-consultation-form__message--error {
    background: var(--hhgs-error-bg);
    border: 1px solid rgba(143, 31, 31, 0.28);
    color: var(--hhgs-error);
}

.hhgs-consultation-form__message--success {
    background: var(--hhgs-success-bg);
    border: 1px solid rgba(36, 95, 54, 0.26);
    color: var(--hhgs-success);
}

.hhgs-consultation-form__message--success p:last-child {
    margin-bottom: 0;
}

.hhgs-consultation-form__reset-link {
    color: var(--hhgs-success);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hhgs-consultation-form__reset-link:hover,
.hhgs-consultation-form__reset-link:focus {
    color: var(--hhgs-accent-dark);
}

.hhgs-consultation-form__hp {
    height: 0;
    left: -9999px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

.hhgs-general-contact-wrap,
.hhgs-general-contact-form {
    --hhgs-general-contact-border: #d7ded8;
    --hhgs-general-contact-ink: #1f2a24;
    --hhgs-general-contact-surface: #ffffff;
    --hhgs-general-contact-accent: #3f7d4f;
    --hhgs-general-contact-accent-dark: #2e613c;
    --hhgs-general-contact-error: #8f1f1f;
    --hhgs-general-contact-error-bg: #fff3f3;
    --hhgs-general-contact-success: #245f36;
    --hhgs-general-contact-success-bg: #f0fbf3;
    color: var(--hhgs-general-contact-ink);
    max-width: 860px;
    width: 100%;
}

.hhgs-general-contact-wrap *,
.hhgs-general-contact-wrap *::before,
.hhgs-general-contact-wrap *::after,
.hhgs-general-contact-form *,
.hhgs-general-contact-form *::before,
.hhgs-general-contact-form *::after {
    box-sizing: border-box;
}

.hhgs-general-contact-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hhgs-general-contact-field {
    margin: 0 0 20px;
}

.hhgs-general-contact-field label {
    color: var(--hhgs-general-contact-ink);
    display: block;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 8px;
}

.hhgs-general-contact-field label span {
    color: var(--hhgs-general-contact-error);
    margin-left: 2px;
}

.hhgs-general-contact-form input[type="text"],
.hhgs-general-contact-form input[type="email"],
.hhgs-general-contact-form select,
.hhgs-general-contact-form textarea {
    background: var(--hhgs-general-contact-surface);
    border: 1px solid var(--hhgs-general-contact-border);
    border-radius: 6px;
    color: var(--hhgs-general-contact-ink);
    font: inherit;
    line-height: 1.4;
    min-height: 46px;
    padding: 10px 12px;
    width: 100%;
}

.hhgs-general-contact-form textarea {
    min-height: 132px;
    resize: vertical;
}

.hhgs-general-contact-form input:focus,
.hhgs-general-contact-form select:focus,
.hhgs-general-contact-form textarea:focus {
    border-color: var(--hhgs-general-contact-accent);
    box-shadow: 0 0 0 3px rgba(63, 125, 79, 0.16);
    outline: none;
}

.hhgs-general-contact-button {
    background: var(--hhgs-general-contact-accent);
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    line-height: 1.2;
    min-height: 46px;
    padding: 13px 20px;
    text-align: center;
}

.hhgs-general-contact-button:hover,
.hhgs-general-contact-button:focus {
    background: var(--hhgs-general-contact-accent-dark);
    color: #ffffff;
}

.hhgs-general-contact-success,
.hhgs-general-contact-error {
    border-radius: 6px;
    margin: 0 0 20px;
    padding: 14px 16px;
}

.hhgs-general-contact-success p,
.hhgs-general-contact-error p {
    margin: 0 0 8px;
}

.hhgs-general-contact-error ul {
    margin: 0;
    padding-left: 20px;
}

.hhgs-general-contact-success {
    background: var(--hhgs-general-contact-success-bg);
    border: 1px solid rgba(36, 95, 54, 0.26);
    color: var(--hhgs-general-contact-success);
}

.hhgs-general-contact-error {
    background: var(--hhgs-general-contact-error-bg);
    border: 1px solid rgba(143, 31, 31, 0.28);
    color: var(--hhgs-general-contact-error);
}

.hhgs-general-contact-success p:last-child {
    margin-bottom: 0;
}

.hhgs-general-contact-reset-link {
    color: var(--hhgs-general-contact-success);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hhgs-general-contact-reset-link:hover,
.hhgs-general-contact-reset-link:focus {
    color: var(--hhgs-general-contact-accent-dark);
}

.hhgs-general-contact-honeypot {
    height: 0;
    left: -9999px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

@media (max-width: 640px) {
    .hhgs-consultation-form__grid,
    .hhgs-consultation-form__choices,
    .hhgs-general-contact-grid {
        grid-template-columns: 1fr;
    }

    .hhgs-consultation-form__button,
    .hhgs-general-contact-button {
        width: 100%;
    }
}
