:root {
  --color-primary: #1B4332;
  --color-secondary: #2D6A4F;
  --color-accent: #40C057;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
}

@media (min-width: 640px) {
  html { scroll-padding-top: 6.5rem; }
}

body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
}

img { max-width: 100%; height: auto; }

button, .btn, [class*="btn-"], a[href="#order_form"] {
  white-space: nowrap;
  min-width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

form button[type="submit"] {
  white-space: normal;
  width: 100%;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--color-accent) 55%, white);
  outline-offset: 2px;
  border-radius: 0.75rem;
}

[data-animate] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.rotate-180 { transform: rotate(180deg); }

.input-error {
  border-color: rgb(239 68 68) !important;
}

.field-error {
  color: rgb(239 68 68);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

#mobile-menu a, #mobile-menu button {
  -webkit-tap-highlight-color: transparent;
}

.no-scroll {
  overflow: hidden;
}