:root {
  --color-primary: #2F4F2F;
  --color-secondary: #4A6B4A;
  --color-accent: #FFB300;
  --color-bg-light: #FFFBEB;
  --color-bg-alt: #FEF3C7;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
}

/* =====================
   BUTTON RESETS
   ===================== */
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%;
  display: flex;
}

/* =====================
   SCROLL ANIMATIONS
   ===================== */
html.js-anim html.js-anim html.js-anim [data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* =====================
   ROTATION UTILITY
   ===================== */
.rotate-180 {
  transform: rotate(180deg);
}

/* =====================
   DECORATIVE BACKGROUNDS
   ===================== */
.decor-grid-dots {
  background-image: radial-gradient(circle, rgba(47,79,47,0.12) 1px, transparent 1px);
  background-size: 24px 24px;
}

.decor-grid-lines {
  background-image:
    linear-gradient(rgba(47,79,47,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,79,47,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,179,0,0.05) 10px,
    rgba(255,179,0,0.05) 20px
  );
}

.decor-mesh {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(47,79,47,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,179,0,0.07) 0%, transparent 50%);
}

/* =====================
   ACCENT DECORATIONS
   ===================== */
.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255,179,0,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(47,79,47,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at top right, rgba(255,179,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at bottom left, rgba(47,79,47,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.decor-glow-element {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,179,0,0.25) 0%, transparent 70%);
  width: 400px;
  height: 400px;
  pointer-events: none;
  z-index: 0;
}

/* =====================
   INTENSITY MODIFIERS
   ===================== */
.decor-subtle { opacity: 0.5; }
.decor-moderate { opacity: 0.75; }
.decor-bold { opacity: 1; }

/* =====================
   STAR RATING
   ===================== */
.stars {
  display: inline-flex;
  gap: 2px;
  color: #FFB300;
}

/* =====================
   FORM STYLES
   ===================== */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
}

.form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255,179,0,0.15);
}

.form-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12);
}

.form-error-msg {
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.3rem;
  padding-left: 0.75rem;
  display: none;
}

.form-error-msg.visible {
  display: block;
}

/* =====================
   CTA BUTTON BASE
   ===================== */
.btn-cta {
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  border-radius: 9999px;
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
  background-color: var(--color-accent);
  color: white;
  box-shadow: 0 4px 15px rgba(255,179,0,0.3);
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  border-radius: 9999px;
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  box-shadow: 0 4px 15px rgba(47,79,47,0.3);
}

/* =====================
   CARD STYLES
   ===================== */
.card-default {
  border-radius: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s;
}

.card-default:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.10);
}

/* =====================
   BADGE
   ===================== */
.badge-accent {
  background-color: var(--color-accent);
  color: #1a1a1a;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =====================
   ACCORDION TOGGLE
   ===================== */
[data-faq-toggle] .faq-icon {
  transition: transform 0.3s ease;
}

[data-faq-toggle].open .faq-icon {
  transform: rotate(180deg);
}

[data-faq-body] {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

[data-faq-body].open {
  max-height: 400px;
}

/* =====================
   MOBILE MENU
   ===================== */
#mobile-menu {
  transition: all 0.25s ease;
}

/* =====================
   HERO GRADIENT
   ===================== */
.hero-gradient {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 50%, #fff 100%);
}

/* =====================
   SCROLLBAR
   ===================== */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 9999px;
}

/* =====================
   TESTIMONIAL CARD
   ===================== */
.testimonial-card {
  background: #f9fafb;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.25s;
}

.testimonial-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* =====================
   SECTION ALTERNATING
   ===================== */
.section-alt {
  background-color: var(--color-bg-light);
}

/* =====================
   LOADING SPINNER
   ===================== */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

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

/* =====================
   UTILITY
   ===================== */
.text-balance {
  text-wrap: balance;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}