/**
 * HY Inquiry — frontend form (shortcode).
 * Neutral, theme-friendly defaults. Wrap in your own selectors to customize.
 */
.hyinq-form {
    display: grid;
    gap: 16px;
    max-width: 640px;
    margin: 0 auto;
    font-family: inherit;
    color: inherit;
}

.hyinq-form__row {
    display: grid;
    gap: 6px;
}

.hyinq-form__label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    color: inherit;
    opacity: .85;
}

.hyinq-form__label em {
    color: #b03a3a;
    font-style: normal;
    margin-left: 2px;
}

.hyinq-form input[type="text"],
.hyinq-form input[type="email"],
.hyinq-form input[type="tel"],
.hyinq-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    font: inherit;
    font-size: 16px; /* >=16px so iOS Safari does not zoom on focus */
    line-height: 1.5;
    color: inherit;
    background: #fff;
    border: 1px solid #d8dde5;
    border-radius: 8px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.hyinq-form input:focus,
.hyinq-form textarea:focus {
    outline: 0;
    border-color: #1f2a44;
    box-shadow: 0 0 0 3px rgba(31, 42, 68, .12);
}

.hyinq-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Honey-pot — invisible to humans, visible to bots */
.hyinq-form__honey {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.hyinq-form__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.hyinq-form__submit {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: #1f2a44;
    color: #fff;
    font: inherit;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .02em;
    padding: 12px 26px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}

.hyinq-form__submit:hover:not(:disabled) {
    background: #131a2c;
}

.hyinq-form__submit:active:not(:disabled) {
    transform: translateY(1px);
}

.hyinq-form__submit:disabled {
    opacity: .65;
    cursor: progress;
}

.hyinq-form__status {
    font-size: 14px;
    line-height: 1.5;
    min-height: 1em;
}

.hyinq-form__status.is-pending { color: #7a8693; }
.hyinq-form__status.is-success { color: #16794c; }
.hyinq-form__status.is-error   { color: #b03a3a; }

/* Two-column row helper for name+email / company+phone */
@media (min-width: 600px) {
    .hyinq-form--cols-2 {
        grid-template-columns: 1fr 1fr;
    }
    .hyinq-form--cols-2 .hyinq-form__row--message,
    .hyinq-form--cols-2 .hyinq-form__row--subject,
    .hyinq-form--cols-2 .hyinq-form__actions {
        grid-column: 1 / -1;
    }
}
