:root {
  --color-primary: #3D2914;
  --color-secondary: #5C4020;
  --color-accent: #FF8C00;
  --color-bg-light: #FFFBF0;
  --color-bg-alt: #FEF0C7;
}

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

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

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

/* ── Scroll animations (gated so bots/no-JS see content) ── */
html.js-anim html.js-anim [data-animate] {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

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

/* ── Decorative patterns ── */
.decor-grid-dots {
  background-image: radial-gradient(circle, var(--color-accent) 1px, transparent 1px);
  background-size: 24px 24px;
}

.decor-grid-lines {
  background-image:
    linear-gradient(var(--color-accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-accent) 1px, transparent 1px);
  background-size: 40px 40px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    var(--color-accent) 10px,
    var(--color-accent) 11px
  );
}

.decor-mesh {
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(255,140,0,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(61,41,20,0.1) 0%, transparent 60%);
}

/* Intensity modifiers */
.decor-subtle   { opacity: 0.05; }
.decor-moderate { opacity: 0.10; }
.decor-bold     { opacity: 0.20; }

/* ── Gradient blur blobs ── */
.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.decor-gradient-blur::before {
  width: 400px;
  height: 400px;
  background: rgba(255, 140, 0, 0.15);
  top: -100px;
  right: -100px;
}

.decor-gradient-blur::after {
  width: 300px;
  height: 300px;
  background: rgba(61, 41, 20, 0.10);
  bottom: -80px;
  left: -80px;
}

/* Corner accents */
.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at top right, rgba(255,140,0,0.2), 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(61,41,20,0.15), transparent 70%);
  pointer-events: none;
}

/* Glow element */
.decor-glow-element {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,140,0,0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Testimonial slider ── */
.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-slide {
  flex: 0 0 100%;
}

/* ── Star rating ── */
.stars {
  color: var(--color-accent);
  letter-spacing: 2px;
}

/* ── Accordion ── */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
}

.faq-answer.open {
  max-height: 600px;
}

/* ── Form focus ring ── */
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ── Pill badge ── */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ── Section transitions ── */
.section-divider {
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
  opacity: 0.2;
}

/* ── Mobile menu transition ── */
#mobile-menu {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* ── Utility: accent text gradient ── */
.text-gradient {
  background: linear-gradient(135deg, var(--color-accent) 0%, #FF6B00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Card hover lift ── */
.card-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(61, 41, 20, 0.12);
}

/* ── Progress bar (for stats) ── */
.progress-bar {
  height: 6px;
  border-radius: 9999px;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--color-accent), #FF6B00);
  transition: width 1s ease-out;
}

/* ── Order form highlight ── */
#order_form {
  scroll-margin-top: 5rem;
}

/* ── Image aspect ratios ── */
.img-square { aspect-ratio: 1 / 1; object-fit: cover; }
.img-wide   { aspect-ratio: 16 / 9; object-fit: cover; }