/* Contact block — scoped to avoid leaking form styles into the rest of the site. */
.contact-section {
    color: var(--oc-ink, #203127);
}

.contact-section .section-header {
    max-width: 760px;
    margin: 0 auto 2rem;
}

.contact-section .section-header h2 {
    margin-bottom: .65rem;
}

.contact-section__intro {
    margin: 0;
    color: var(--oc-muted, #68756c);
    line-height: 1.65;
}

.contact-form-wrapper {
    text-align: left;
}

.contact-form {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(1.4rem, 4vw, 2.6rem);
    border: 1px solid var(--oc-line, #dfe5dc);
    border-radius: var(--oc-radius, 24px);
    background: #fff;
    box-shadow: 0 18px 50px rgba(32, 49, 39, .08);
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-section .form-group {
    margin-bottom: 1.25rem;
}

.contact-section .form-label {
    display: block;
    margin-bottom: .5rem;
    color: var(--oc-ink, #203127);
    font-weight: 750;
}

.contact-section .form-control {
    width: 100%;
    box-sizing: border-box;
    padding: .9rem 1rem;
    border: 1px solid #c9d3c8;
    border-radius: 12px;
    background: #fff;
    color: var(--oc-ink, #203127);
    font: inherit;
    line-height: 1.4;
    transition: border-color .2s, box-shadow .2s;
}

.contact-section .form-control:focus {
    outline: none;
    border-color: var(--oc-green, #315c3a);
    box-shadow: 0 0 0 4px rgba(49, 92, 58, .14);
}

.contact-section textarea.form-control {
    min-height: 170px;
    resize: vertical;
}

.contact-section select.form-control {
    cursor: pointer;
}

.form-help,
.contact-required-note {
    display: block;
    margin-top: .45rem;
    color: var(--oc-muted, #68756c);
    font-size: .84rem;
    line-height: 1.5;
}

.form-group--consent {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: .65rem;
    align-items: start;
}

.form-group--consent input {
    width: 18px;
    height: 18px;
    margin-top: .2rem;
    accent-color: var(--oc-green, #315c3a);
}

.form-group--consent label {
    color: #46544b;
    font-size: .92rem;
    line-height: 1.55;
}

.form-group--consent a {
    color: var(--oc-green, #315c3a);
    font-weight: 700;
}

.contact-submit {
    width: 100%;
    margin-top: .5rem;
    cursor: pointer;
}

.contact-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

.contact-alert {
    max-width: 760px;
    box-sizing: border-box;
    margin: 0 auto 1.2rem;
    padding: 1rem 1.15rem;
    border: 1px solid;
    border-radius: 14px;
    line-height: 1.55;
}

.contact-alert strong,
.contact-alert span {
    display: block;
}

.contact-alert ul {
    margin: .5rem 0 0;
    padding-left: 1.2rem;
}

.contact-alert--success {
    border-color: #8cb498;
    background: #edf6ef;
    color: #24472c;
}

.contact-alert--error {
    border-color: #d9a29a;
    background: #fff2ef;
    color: #7b2d26;
}

@media (max-width: 680px) {
    .contact-form__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        border-radius: 18px;
    }
}
