/* Buttons */
.btn {
  display: inline-block;
  border: 0;
  border-radius: 10px;
  padding: 0.62rem 0.95rem;
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.25s, filter 0.25s;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25),
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-cta {
  background: var(--brand-grad);
  color: #f0fdf4;
  box-shadow: 0 14px 32px rgba(25, 42, 22, 0.24);
}

.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(25, 42, 22, 0.28);
  filter: saturate(1.05);
}

.btn-ghost {
  color: #183318;
  background: #ffffff;
  border: 1px solid #d7e6d0;
}

.btn-ghost:hover {
  background: #f6fbf5;
}

.btn:disabled,
.btn[data-loading="true"] {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.btn[data-loading="true"]::after {
  content: "";
  position: absolute;
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 0.5em;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Header CTA */
.site-header .site-nav a.btn {
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  line-height: 1;
  font-weight: 600;
}

.site-header .site-nav .btn-cta {
  background: #f2f8ee;
  color: var(--primary-green);
  border: 1px solid rgba(72, 102, 64, 0.2);
  box-shadow: 0 6px 14px rgba(45, 67, 39, 0.12);
}

.site-header .site-nav .btn-cta:hover {
  background: #e8f2e3;
  color: var(--primary-green);
}

.site-header .site-nav a:where(.btn, .btn-cta):focus-visible {
  outline: 3px solid #ffffffcc;
  outline-offset: 2px;
  border-radius: 12px;
}
