/* Mobile/small-device fixes for appointment form */
@media (max-width: 640px) {
  .max-w-2xl { max-width: 100% !important; padding-left: 1rem !important; padding-right: 1rem !important; }
  .w-full { width: 100% !important; }
  .sm\:w-auto { width: 100% !important; }
  .flex-row, .sm\:flex-row { flex-direction: column !important; }
  .gap-2 { gap: 0.5rem !important; }
  input, select, textarea, button { width: 100% !important; box-sizing: border-box !important; font-size: 16px !important; }
  .min-w-\[70px\], .min-w-\[85px\], .min-w-\[90px\], .min-w-\[110px\] { min-width: 0 !important; }
  .space-y-8 { gap: 1.5rem !important; }
  .text-xs { font-size: 14px !important; }
  .px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
}
/* Small touch target improvements */
button { padding: 0.75rem 1rem !important; }

/* Brand/header and hero media alignment */
header button {
  width: auto !important;
}

header nav {
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
}

header img[alt$=" logo"] {
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0.25rem;
}

header nav > a[href="/"] {
  margin-right: auto !important;
}

header button[aria-label="Open menu"],
header button[aria-label="Close menu"] {
  margin-left: auto !important;
  width: auto !important;
  min-width: 44px !important;
  flex: 0 0 auto !important;
}

.hero-media {
  background-position: center center !important;
  object-position: center center !important;
}

@media (max-width: 640px) {
  .hero-media {
    background-position: center top !important;
    object-position: center top !important;
  }
}
