:root{
  --color-primary:#4A4035;
  --color-secondary:#6A5A4A;
  --color-accent:#F5E6D3;
  --bg-light:#FFFDFB;
  --bg-alt:#FDF8F3;
}

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:.5rem
}
form button[type="submit"]{white-space:normal;width:100%}

/* Focus rings */
:where(a,button,input,select,textarea,[role="button"]):focus-visible{
  outline:2px solid rgba(74,64,53,.35);
  outline-offset:3px;
  border-radius:12px
}

/* Premium text rendering */
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}

/* Header behavior */
.header-solid{
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(17,24,39,.06);
  box-shadow:0 10px 30px rgba(17,24,39,.06)
}

/* CTA tuning (accent is light, ensure readable text) */
.btn-cta{color:var(--color-primary)!important}
.btn-cta i{opacity:.9}

/* Decorative backgrounds (used via classes) */
.decor-grid-dots{
  background-image:radial-gradient(rgba(74,64,53,.16) 1px, transparent 1px);
  background-size:18px 18px
}
.decor-grid-lines{
  background-image:
    linear-gradient(to right, rgba(74,64,53,.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(74,64,53,.08) 1px, transparent 1px);
  background-size:40px 40px
}
.decor-diagonal{
  background-image:repeating-linear-gradient(
    135deg,
    rgba(245,230,211,.45),
    rgba(245,230,211,.45) 10px,
    transparent 10px,
    transparent 20px
  )
}
.decor-mesh{
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(245,230,211,.55), transparent 60%),
    radial-gradient(700px 450px at 80% 25%, rgba(106,90,74,.18), transparent 60%),
    radial-gradient(900px 650px at 50% 120%, rgba(74,64,53,.18), transparent 60%)
}
.decor-gradient-blur::before,
.decor-gradient-blur::after{
  content:"";
  position:absolute;
  width:520px;height:520px;
  filter:blur(60px);
  opacity:.22;
  pointer-events:none
}
.decor-gradient-blur::before{
  left:-180px;top:-200px;
  background:radial-gradient(circle at 30% 30%, rgba(245,230,211,.95), transparent 65%)
}
.decor-gradient-blur::after{
  right:-220px;bottom:-220px;
  background:radial-gradient(circle at 70% 70%, rgba(74,64,53,.55), transparent 65%)
}
.decor-corner-tr::before{
  content:"";
  position:absolute;
  right:-1px;top:-1px;
  width:140px;height:140px;
  background:linear-gradient(135deg, rgba(245,230,211,.75), transparent 70%);
  border-top-right-radius:24px;
  pointer-events:none
}
.decor-corner-bl::before{
  content:"";
  position:absolute;
  left:-1px;bottom:-1px;
  width:160px;height:160px;
  background:linear-gradient(315deg, rgba(245,230,211,.65), transparent 70%);
  border-bottom-left-radius:24px;
  pointer-events:none
}
.decor-glow-element{
  position:absolute;
  inset:auto;
  width:420px;height:420px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(245,230,211,.65), transparent 65%);
  filter:blur(30px);
  opacity:.55;
  pointer-events:none
}
.decor-rings-svg{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Cg fill='none' stroke='rgba(74,64,53,0.14)' stroke-width='1'%3E%3Ccircle cx='160' cy='160' r='40'/%3E%3Ccircle cx='160' cy='160' r='80'/%3E%3Ccircle cx='160' cy='160' r='120'/%3E%3Ccircle cx='160' cy='160' r='155'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:center;
  background-size:320px 320px
}
.decor-subtle{opacity:.07}
.decor-moderate{opacity:.12}
.decor-bold{opacity:.2}

/* Animations */
[data-animate]{
  opacity:0;
  transform:translateY(14px);
  transition:opacity .6s ease-out, transform .6s ease-out
}
[data-animate].is-visible{
  opacity:1;
  transform:translateY(0)
}
.rotate-180{transform:rotate(180deg)}

/* FAQ polish */
.faq-answer{max-height:0;overflow:hidden;transition:max-height .35s ease}
.faq-item.is-open .faq-answer{max-height:420px}
.faq-item .faq-chevron{transition:transform .25s ease}
.faq-item.is-open .faq-chevron{transform:rotate(180deg)}

/* Form helpers */
.input-error{border-color:rgba(239,68,68,.6)!important;box-shadow:0 0 0 4px rgba(239,68,68,.12)}
.help-error{color:#ef4444}

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