.hv-contact,
.hv-contact * { box-sizing: border-box; }

.hv-contact {
    --hv-green: #4f7f3b;
    --hv-green-dark: #31572c;
    --hv-green-soft: #eef5eb;
    --hv-ink: #1e2920;
    --hv-muted: #657067;
    --hv-line: #dfe6dd;
    --hv-bg: #f7f9f6;
    width: 100%;
    max-width: 980px;
    margin: 32px auto;
    color: var(--hv-ink);
    font: inherit;
}

.hv-contact__intro {
    max-width: 720px;
    margin: 0 0 30px;
}

.hv-contact__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--hv-green-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hv-contact__eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--hv-green);
    border-radius: 20px;
}

.hv-contact__intro h2 {
    margin: 0 0 14px;
    color: var(--hv-ink);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.hv-contact__intro p {
    max-width: 680px;
    margin: 0;
    color: var(--hv-muted);
    font-size: 18px;
    line-height: 1.7;
}

.hv-contact__form {
    position: relative;
    padding: clamp(22px, 4vw, 42px);
    border: 1px solid var(--hv-line);
    border-radius: 18px;
    background: #fff;
}

.hv-contact__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.hv-field--full { grid-column: 1 / -1; }

.hv-field label {
    display: block;
    margin: 0 0 8px;
    color: var(--hv-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.hv-field label span { color: var(--hv-green); }

.hv-field input,
.hv-field select,
.hv-field textarea {
    appearance: none;
    width: 100%;
    margin: 0;
    padding: 14px 15px;
    border: 1px solid #cfd8cc;
    border-radius: 9px;
    outline: none;
    background: var(--hv-bg);
    color: var(--hv-ink);
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.hv-field textarea {
    min-height: 170px;
    resize: vertical;
}

.hv-field input::placeholder,
.hv-field textarea::placeholder { color: #8b958d; }

.hv-field input:hover,
.hv-field select:hover,
.hv-field textarea:hover { border-color: #aebbaa; }

.hv-field input:focus,
.hv-field select:focus,
.hv-field textarea:focus {
    border-color: var(--hv-green);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(79, 127, 59, .12);
}

.hv-select-wrap { position: relative; }
.hv-select-wrap::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 2px solid var(--hv-green-dark);
    border-bottom: 2px solid var(--hv-green-dark);
    transform: rotate(45deg);
    pointer-events: none;
}
.hv-field select { padding-right: 42px; cursor: pointer; }

.hv-consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 24px 0 0;
    color: var(--hv-muted);
    font-size: 14px;
    line-height: 1.55;
    cursor: pointer;
}

.hv-consent input {
    appearance: none;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    border: 1px solid #b8c4b5;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
}

.hv-consent input:checked {
    border-color: var(--hv-green);
    background-color: var(--hv-green);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.hv-consent input:focus-visible { box-shadow: 0 0 0 3px rgba(79, 127, 59, .18); }
.hv-consent a { color: var(--hv-green-dark); text-decoration: underline; text-underline-offset: 2px; }

.hv-contact__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    padding-top: 25px;
    border-top: 1px solid var(--hv-line);
}

.hv-contact__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 52px;
    padding: 13px 20px 13px 23px;
    border: 0;
    border-radius: 9px;
    background: var(--hv-green-dark);
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color .18s ease, transform .18s ease, opacity .18s ease;
}

.hv-contact__submit:hover { background: var(--hv-green); transform: translateY(-1px); }
.hv-contact__submit:focus-visible { outline: 3px solid rgba(79, 127, 59, .25); outline-offset: 3px; }
.hv-contact__submit:disabled { opacity: .6; cursor: wait; transform: none; }
.hv-contact__submit svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.hv-contact__submit:hover svg { transform: translateX(2px); }

.hv-contact__required {
    margin: 0;
    color: #7e897f;
    font-size: 13px;
}

.hv-contact__status {
    display: none;
    margin-top: 20px;
    padding: 13px 15px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.5;
}

.hv-contact__status.is-success {
    display: block;
    border: 1px solid #cbdcc5;
    background: var(--hv-green-soft);
    color: #274720;
}

.hv-contact__status.is-error {
    display: block;
    border: 1px solid #edc6c6;
    background: #fff3f3;
    color: #8a2929;
}

.hv-field.is-invalid input,
.hv-field.is-invalid select,
.hv-field.is-invalid textarea { border-color: #c94848; background: #fffafa; }

.hv-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 700px) {
    .hv-contact { margin: 24px auto; }
    .hv-contact__grid { grid-template-columns: 1fr; gap: 18px; }
    .hv-field--full { grid-column: auto; }
    .hv-contact__form { border-radius: 14px; }
    .hv-contact__footer { align-items: stretch; flex-direction: column; }
    .hv-contact__submit { width: 100%; }
    .hv-contact__required { text-align: center; }
}
