/* Shared contact actions and a warm ivory enterprise inquiry dialog. */
.button.contact-trigger,
.site-header .header-cta.contact-trigger,
.contact-section .button.contact-trigger {
  min-height: 56px;
  padding: 0 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  background: #f6bc73;
  color: #28251f;
  border: 1px solid transparent;
  border-radius: 12px;
}
.contact-trigger svg { width: 16px; height: 16px; }
.contact-dialog {
  color-scheme: light;
  width: min(780px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  padding: 0;
  margin: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #e5d7c4;
  border-radius: 16px;
  background: #fff8ed;
  color: #28251f;
  font-family: var(--font-body);
  scrollbar-color: #c1ad92 #fff8ed;
}
.contact-dialog::backdrop { background: rgb(40 37 31 / .42); }
.contact-dialog__panel { position: relative; padding: 36px 48px; }
.contact-dialog__header { padding-right: 24px; }
.contact-dialog__header h2 { font-family: var(--font-display); font-size: 23px; line-height: 1.15; font-weight: 400; }
.contact-dialog__header p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: #665d52; }
.contact-dialog [data-close-contact]:not(.contact-form__cancel):not(.button) {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  color: #28251f;
  border: 0;
  border-radius: 8px;
}
.contact-dialog [data-close-contact] svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.contact-progress { margin-top: 24px; }
.contact-progress__label { font-size: 13px; color: #665d52; }
.contact-progress__track { height: 3px; margin-top: 8px; background: #e5d7c4; overflow: hidden; }
.contact-progress__track span { display: block; width: 16.6667%; height: 100%; background: #885319; transition: width 180ms ease-out; }
.contact-step { display: flex; flex-direction: column; justify-content: center; min-height: 300px; padding-block: 32px; animation: contact-question-in 180ms ease-out; }
.contact-interests { min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-interests legend, .contact-field > span { padding: 0; font-family: var(--font-display); font-size: clamp(28px, 4vw, 36px); line-height: 1.2; font-weight: 400; }
.contact-interests > p { margin-top: 12px; font-size: 15px; color: #665d52; }
.contact-interests__options { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 24px; }
.contact-interests__options label { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 14px; border: 1px solid #c1ad92; border-radius: 8px; background: #fffdf8; font-size: 16px; line-height: 1.3; cursor: pointer; }
.contact-interests__options label:has(:checked) { border-color: #885319; background: #f9efdf; }
.contact-interests__options label:has(:disabled) { opacity: .7; cursor: not-allowed; }
.contact-interests__options input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: #885319; cursor: inherit; }
.contact-interests__options input:focus-visible { outline: 2px solid #885319; outline-offset: 3px; }
.contact-form__honey { display: none; }
.contact-field { display: flex; flex-direction: column; gap: 16px; min-width: 0; color: #28251f; }
.contact-field small { font-size: 15px; line-height: 1.5; color: #665d52; font-weight: 400; }
.contact-field input, .contact-field textarea {
  width: 100%;
  min-height: 60px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #c1ad92;
  border-radius: 0;
  background: transparent;
  color: #28251f;
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  caret-color: #885319;
}
.contact-field textarea { min-height: 140px; max-height: 280px; padding: 14px 16px; border: 1px solid #c1ad92; border-radius: 8px; background: #fffdf8; font-size: 18px; resize: vertical; }
.contact-other { margin-top: 18px; gap: 8px; }
.contact-other > span { font-family: var(--font-body); font-size: 16px; line-height: 1.5; }
.contact-other input { min-height: 48px; padding: 10px 12px; border: 1px solid #c1ad92; border-radius: 8px; background: #fffdf8; font-size: 18px; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #665d52; opacity: 1; }
.contact-field input:focus-visible, .contact-field textarea:focus-visible { outline: 2px solid #885319; outline-offset: 2px; }
.contact-field input:disabled, .contact-field textarea:disabled { opacity: .7; }
.contact-form__fallback a { text-decoration: underline; text-underline-offset: 3px; }
.contact-form__fallback { margin: 16px auto; padding: 0 20px; text-align: center; font-size: 14px; }
.contact-form__status { margin-top: 12px; min-height: 21px; color: #665d52; font-size: 14px; line-height: 1.5; }
.contact-form__status:empty { margin: 0; min-height: 0; }
.contact-form__status[data-state="error"] { color: #8c382a; }
.contact-form__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.contact-form__actions > .contact-form__submit { margin-left: auto; }
.contact-form__submit, .contact-form__success .button {
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f6bc73;
  color: #28251f;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}
.contact-form__back { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 8px; border: 0; border-radius: 8px; background: transparent; color: #665d52; font-size: 14px; }
.contact-form__back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-form__success { padding-block: 32px 8px; }
.contact-form__success h3 { font-family: var(--font-display); font-size: 32px; font-weight: 400; line-height: 1.15; }
.contact-form__success p { margin-top: 12px; color: #665d52; font-size: 16px; line-height: 1.55; }
.contact-form__success .button { margin-top: 24px; }
@media (hover: hover) and (pointer: fine) {
  .button.contact-trigger:hover, .site-header .header-cta.contact-trigger:hover,
  .contact-section .button.contact-trigger:hover, .contact-form__submit:hover,
  .contact-form__success .button:hover { background: #f2ad59; color: #28251f; }
  .contact-form__back:hover, .contact-dialog [data-close-contact]:not(.button):hover { background: #f9efdf; color: #28251f; }
}
@media (max-width: 540px) {
  .contact-dialog__panel { padding: 28px 20px; }
  .contact-dialog__header { padding-right: 20px; }
  .contact-step { min-height: 300px; padding-block: 28px; }
  .contact-interests__options { grid-template-columns: minmax(0, 1fr); }
  .contact-form__actions { flex-wrap: wrap; }
}
@keyframes contact-question-in { from { opacity: .7; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .contact-step { animation: none; } .contact-progress__track span { transition: none; } }
@media (max-width: 350px) {
  .site-header { width: calc(100% - 24px); gap: 8px; }
}
