/* Shared Stillwood inquiry dialog. Native <dialog> keeps focus inside the modal. */
.stillwood-contact {
  box-sizing: border-box;
  width: min(560px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 36px;
  overflow: auto;
  overscroll-behavior: contain;
  color: #252b27;
  background: rgba(249, 250, 247, .86);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(18, 30, 23, .22), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  backdrop-filter: blur(24px) saturate(1.2);
  font-family: regola-book, sans-serif;
}
.stillwood-contact::backdrop { background: rgba(18, 27, 22, .38); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.stillwood-contact *, .stillwood-contact *::before { box-sizing: border-box; }
.stillwood-contact h2 { margin: 0 40px 28px 0; font-size: clamp(30px, 6vw, 40px); line-height: 1.1; font-weight: 400; letter-spacing: -1.5px; }
.stillwood-contact p { margin: 0 0 24px; font-size: 16px; line-height: 1.5; }
.stillwood-contact-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(37, 43, 39, .1); border-radius: 50%; background: rgba(255, 255, 255, .55); color: inherit; font: 28px/1 sans-serif; cursor: pointer; }
.stillwood-contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stillwood-contact label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.3; }
.stillwood-contact-wide { grid-column: 1 / -1; }
.stillwood-contact input, .stillwood-contact textarea { width: 100%; min-width: 0; border: 1px solid rgba(37, 43, 39, .22); border-radius: 12px; padding: 13px 14px; background: rgba(255, 255, 255, .58); color: #252b27; font: 16px/1.4 regola-book, sans-serif; }
.stillwood-contact textarea { min-height: 108px; resize: vertical; }
.stillwood-contact input::placeholder, .stillwood-contact textarea::placeholder { color: #697169; opacity: 1; }
.stillwood-contact :focus-visible { outline: 2px solid #276644; outline-offset: 3px; }
.stillwood-contact h2:focus { outline: none; }
.stillwood-contact-submit { width: 100%; min-height: 48px; margin-top: 24px; padding: 14px 22px; border: none; border-radius: 28px; background: #293e31; color: #fff; font: 16px/1.4 regola-book, sans-serif; cursor: pointer; }
.stillwood-contact-submit:hover { background: #3b5443; }
.stillwood-contact .stillwood-contact-note { margin: 14px 0 0; font-size: 12px; text-align: center; overflow-wrap: anywhere; }
.stillwood-contact-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.stillwood-contact-lock { overflow: hidden !important; }
.stillwood-garden-mobile-cta { display: none; }
@media (max-width: 768px) {
  .stillwood-garden-mobile-cta { display: flex; position: absolute; top: max(18px, env(safe-area-inset-top)); right: 12px; pointer-events: auto; }
}
@media (max-width: 480px) {
  .stillwood-contact { width: calc(100% - 24px); max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); padding: 28px 22px; border-radius: 24px; }
  .stillwood-contact-fields { grid-template-columns: 1fr; gap: 14px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .stillwood-contact { background: #f5f6f2; }
}
