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

html { scroll-behavior: smooth; scroll-padding-top: 7.5rem; }
body { font-family: 'Source Sans 3', system-ui, sans-serif; text-rendering: optimizeLegibility; }

::selection { background: rgba(64, 192, 87, .22); }

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%;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(64, 192, 87, .25);
  border-radius: 0.75rem;
}

[data-animate] {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

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

/* Decorative backgrounds */
.decor-grid-dots {
  background-image: radial-gradient(rgba(17, 24, 39, .18) 1px, transparent 1px);
  background-size: 18px 18px;
  background-position: 0 0;
}
.decor-grid-lines {
  background-image:
    linear-gradient(to right, rgba(17, 24, 39, .08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 24, 39, .08) 1px, transparent 1px);
  background-size: 28px 28px;
}
.decor-diagonal {
  background-image: repeating-linear-gradient(135deg, rgba(64, 192, 87, .14) 0 1px, transparent 1px 10px);
}
.decor-mesh {
  background:
    radial-gradient(900px 500px at 20% 15%, rgba(64, 192, 87, .20), transparent 55%),
    radial-gradient(700px 450px at 85% 25%, rgba(45, 106, 79, .18), transparent 55%),
    radial-gradient(900px 600px at 60% 90%, rgba(27, 67, 50, .14), transparent 60%);
}

.decor-subtle { opacity: .06; }
.decor-moderate { opacity: .11; }
.decor-bold { opacity: .18; }

.decor-gradient-blur { position: relative; isolation: isolate; }
.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: "";
  position: absolute;
  inset: auto;
  width: 520px;
  height: 520px;
  filter: blur(60px);
  opacity: .25;
  z-index: -1;
  pointer-events: none;
  border-radius: 9999px;
}
.decor-gradient-blur::before {
  left: -180px;
  top: -220px;
  background: radial-gradient(circle at 30% 30%, rgba(64, 192, 87, .85), transparent 60%);
}
.decor-gradient-blur::after {
  right: -220px;
  bottom: -240px;
  background: radial-gradient(circle at 60% 40%, rgba(45, 106, 79, .8), transparent 60%);
}

.decor-corner-tr { position: relative; }
.decor-corner-tr::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 100% 0%, rgba(64, 192, 87, .25), transparent 70%);
  pointer-events: none;
}
.decor-corner-bl { position: relative; }
.decor-corner-bl::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: -1px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle at 0% 100%, rgba(45, 106, 79, .22), transparent 70%);
  pointer-events: none;
}

.decor-glow-element {
  background: radial-gradient(circle at 50% 50%, rgba(64, 192, 87, .28), transparent 60%);
  filter: blur(10px);
  opacity: .9;
}

/* Ring pattern helper (for optional inline SVG blocks) */
.decor-rings-svg svg { opacity: .14; }

/* Subtle card sheen */
.card-sheen { position: relative; overflow: hidden; }
.card-sheen::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -30%;
  width: 70%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: rotate(18deg);
  opacity: .0;
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.card-sheen:hover::before {
  opacity: .9;
  transform: rotate(18deg) translateX(22%);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}