/* Elegant contact form — Hearts of Freedom exhibition static site.
   Uses the site's own design tokens (Roboto, slate #3c5467, rose #db5461). */

.hof-contact {
    max-width: 720px;
    margin: 0;
}

.hof-contact .hof-field {
    margin-bottom: 28px;
}

.hof-contact .hof-row {
    display: flex;
    gap: 28px;
}

.hof-contact .hof-row .hof-field {
    flex: 1 1 0;
}

.hof-contact label {
    display: block;
    font-family: Roboto, sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3c5467;
    margin-bottom: 10px;
}

.hof-contact label .hof-req {
    color: #db5461;
    margin-left: 2px;
}

.hof-contact input[type="text"],
.hof-contact input[type="email"],
.hof-contact textarea {
    width: 100%;
    font-family: Roboto, sans-serif;
    font-size: 17px;
    color: #222222;
    background: #ffffff;
    border: 1.5px solid #d8dee5;
    border-radius: 3px;
    padding: 14px 16px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
    appearance: none;
}

.hof-contact textarea {
    min-height: 170px;
    resize: vertical;
    line-height: 1.6;
}

.hof-contact input::placeholder,
.hof-contact textarea::placeholder {
    color: #9aa7b4;
}

.hof-contact input:focus,
.hof-contact textarea:focus {
    outline: none;
    border-color: #3c5467;
    box-shadow: 0 0 0 4px rgba(60, 84, 103, 0.10);
}

.hof-contact .hof-field.is-invalid input,
.hof-contact .hof-field.is-invalid textarea {
    border-color: #db5461;
}

.hof-contact .hof-field-error {
    display: none;
    font-size: 13.5px;
    color: #db5461;
    margin-top: 7px;
}

.hof-contact .hof-field.is-invalid .hof-field-error {
    display: block;
}

.hof-contact .hp-field {
    position: absolute !important;
    left: -5000px !important;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

.hof-contact .hof-submit-row {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.hof-contact .hof-submit {
    font-family: Roboto, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffffff;
    background: #db5461;
    border: none;
    border-radius: 3px;
    padding: 16px 44px;
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
    box-shadow: 0 2px 10px rgba(219, 84, 97, 0.22);
}

.hof-contact .hof-submit:hover {
    background: #c9434f;
    box-shadow: 0 4px 16px rgba(219, 84, 97, 0.30);
}

.hof-contact .hof-submit:active {
    transform: translateY(1px);
}

.hof-contact .hof-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.hof-contact .hof-privacy {
    font-size: 13.5px;
    color: #636363;
    line-height: 1.5;
}

/* status panels */
.hof-status {
    display: none;
    border-radius: 3px;
    padding: 22px 26px;
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.6;
}

.hof-status.hof-status-ok {
    display: block;
    background: #f2f6f4;
    border-left: 4px solid #3c5467;
    color: #2b3f4e;
}

.hof-status.hof-status-err {
    display: block;
    background: #fdf3f4;
    border-left: 4px solid #db5461;
    color: #8c3039;
}

@media (max-width: 768px) {
    .hof-contact .hof-row {
        flex-direction: column;
        gap: 0;
    }
}
