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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { font-family: 'Manrope', system-ui, sans-serif; }

/* Button fixes */
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%;
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(14px);
  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); }

/* Decorative backgrounds */
.decor-grid-dots {
  background-image: radial-gradient(rgba(27, 67, 50, 0.18) 1px, transparent 1px);
  background-size: 18px 18px;
}

.decor-grid-lines {
  background-image:
    linear-gradient(to right, rgba(27, 67, 50, 0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 67, 50, 0.10) 1px, transparent 1px);
  background-size: 28px 28px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    135deg,
    rgba(64, 192, 87, 0.10) 0px,
    rgba(64, 192, 87, 0.10) 10px,
    transparent 10px,
    transparent 22px
  );
}

.decor-mesh {
  background:
    radial-gradient(900px 480px at 18% 20%, rgba(64, 192, 87, 0.25), transparent 60%),
    radial-gradient(760px 520px at 85% 25%, rgba(45, 106, 79, 0.22), transparent 55%),
    radial-gradient(820px 560px at 45% 90%, rgba(27, 67, 50, 0.20), transparent 60%);
}

.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: "";
  position: absolute;
  inset: auto;
  width: 420px;
  height: 420px;
  border-radius: 9999px;
  filter: blur(34px);
  opacity: 0.25;
  pointer-events: none;
}

.decor-gradient-blur::before {
  top: -140px;
  left: -140px;
  background: radial-gradient(circle at 30% 30%, rgba(64, 192, 87, 0.95), transparent 60%);
}

.decor-gradient-blur::after {
  bottom: -160px;
  right: -120px;
  background: radial-gradient(circle at 50% 50%, rgba(45, 106, 79, 0.95), transparent 60%);
}

.decor-corner-tr::before,
.decor-corner-bl::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(64, 192, 87, 0.20), rgba(45, 106, 79, 0.10));
  border: 1px solid rgba(64, 192, 87, 0.18);
  pointer-events: none;
}

.decor-corner-tr::before { top: -110px; right: -110px; transform: rotate(18deg); }
.decor-corner-bl::before { bottom: -120px; left: -120px; transform: rotate(-12deg); }

.decor-glow-element::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 460px;
  height: 460px;
  border-radius: 9999px;
  background: radial-gradient(circle at 50% 50%, rgba(64, 192, 87, 0.22), transparent 62%);
  filter: blur(26px);
  pointer-events: none;
}

.decor-rings-svg {
  background-image: radial-gradient(circle at center,
    rgba(64, 192, 87, 0.18) 0px,
    rgba(64, 192, 87, 0.18) 1px,
    transparent 1px,
    transparent 18px
  );
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.9), transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,0.9), transparent 70%);
}

.decor-subtle { opacity: 0.06; }
.decor-moderate { opacity: 0.10; }
.decor-bold { opacity: 0.18; }

/* Form focus */
input:focus, textarea:focus, select:focus, button:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid rgba(64, 192, 87, 0.75);
  outline-offset: 2px;
  border-radius: 12px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-animate] { transition: none; transform: none; }
}