/* yak-contact-form — emphasis card with the enterprise inquiry form.
   Values copied from the prototype's #enterprise-form card (contact page). Inputs reuse
   .yak-input / .yak-select / .yak-textarea from theme.css. */
.yak-form-card { position: relative; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.yak-form-card.yak-card--emphasis { border-radius: var(--radius-hero); padding: clamp(24px, 3.5vw, 36px); }
.yak-form-card__head { display: flex; flex-direction: column; gap: 8px; }
.yak-form-card__title { margin: 0; font-size: 24px; line-height: 1.3; font-weight: 700; color: var(--ink-primary); }
.yak-form-card__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-secondary); }

/* Success state */
.yak-form-card .yak-form__success { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 24px; border-radius: var(--radius-small-card); background: var(--surface-white); box-shadow: var(--shadow-s1); }
.yak-form-card .yak-form__success[hidden] { display: none; }
.yak-form-card .yak-form__success-msg { display: flex; gap: 10px; align-items: center; font-size: 17px; font-weight: 600; color: var(--ink-primary); }
.yak-form-card .yak-form__success-msg .yak-icon { color: var(--status-success); }

/* Form */
.yak-form-card .yak-form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.yak-form-card .yak-form[hidden] { display: none; }
.yak-form-card .yak-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.yak-form-card .yak-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--yak-min, 220px)), 1fr)); gap: 16px; }
.yak-form-card .yak-form__field { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 14px; font-weight: 500; color: var(--ink-primary); min-width: 0; }
.yak-form-card .yak-form__error { display: flex; gap: 4px; align-items: center; font-size: 13px; font-weight: 400; line-height: 1.4; color: var(--status-error); }
.yak-form-card .yak-form__error[hidden] { display: none; }
.yak-form-card .yak-form__error .yak-icon { font-size: 16px; }

/* Consent row */
.yak-form-card .yak-form__consent-wrap { display: flex; flex-direction: column; gap: 6px; }
.yak-form-card .yak-form__consent { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 14px; font-weight: 400; line-height: 1.55; color: var(--ink-primary); cursor: pointer; }
.yak-form-card .yak-form__consent input[type="checkbox"] { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand-yellow-depth); flex-shrink: 0; cursor: pointer; }
.yak-form-card .yak-form__privacy { color: var(--link-hover); font-weight: 600; }
.yak-form-card a.yak-form__privacy:hover { color: var(--ink-primary); }

.yak-form-card .yak-form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.yak-form-card .yak-form__submit.is-sending { cursor: progress; }
