:root {
  --color-primary: #3D2C2C;
  --color-secondary: #5A4040;
  --color-accent: #FFAB91;
  --color-bg-light: #FFF5F2;
  --color-bg-alt: #FFE8E0;
}

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

body {
  font-family: 'Urbanist', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* =====================
   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: 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: translateX(-2rem);
  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: translateX(0);
}

html.js-anim [data-animate][data-delay="100"] { transition-delay: 0.1s; }
html.js-anim [data-animate][data-delay="200"] { transition-delay: 0.2s; }
html.js-anim [data-animate][data-delay="300"] { transition-delay: 0.3s; }
html.js-anim [data-animate][data-delay="400"] { transition-delay: 0.4s; }
html.js-anim [data-animate][data-delay="500"] { transition-delay: 0.5s; }

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

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

.decor-grid-lines {
  background-image:
    linear-gradient(rgba(255,171,145,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,171,145,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,171,145,0.06) 10px,
    rgba(255,171,145,0.06) 11px
  );
}

.decor-mesh {
  background: radial-gradient(ellipse at 20% 50%, rgba(255,171,145,0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 50%, rgba(61,44,44,0.08) 0%, transparent 50%);
}

/* Intensity modifiers */
.decor-subtle { opacity: 0.5; }
.decor-moderate { opacity: 0.75; }
.decor-bold { opacity: 1; }

/* Gradient blur blobs */
.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: -6rem;
  right: -6rem;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(255,171,145,0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  bottom: -6rem;
  left: -6rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(61,44,44,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Corner accents */
.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 12rem;
  height: 12rem;
  background: linear-gradient(225deg, rgba(255,171,145,0.2) 0%, transparent 60%);
  pointer-events: none;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 12rem;
  height: 12rem;
  background: linear-gradient(45deg, rgba(61,44,44,0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Glow element */
.decor-glow-element {
  position: absolute;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgba(255,171,145,0.35) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

/* =====================
   HEADER SCROLL EFFECT
===================== */
#main-header {
  transition: box-shadow 0.3s ease;
}

#main-header.scrolled {
  box-shadow: 0 2px 20px rgba(61,44,44,0.08);
}

/* =====================
   FORM STYLES
===================== */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #FFE8E0;
  border-radius: 0.75rem;
  background: #FFF5F2;
  color: #3D2C2C;
  font-family: 'Urbanist', system-ui, sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: #FFAB91;
  box-shadow: 0 0 0 3px rgba(255,171,145,0.2);
}

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

.form-input::placeholder {
  color: #b0907d;
}

.form-error {
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: 0.25rem;
  display: none;
}

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

/* =====================
   STARS RATING
===================== */
.stars {
  display: inline-flex;
  gap: 2px;
}

.star {
  width: 1rem;
  height: 1rem;
  fill: #FFAB91;
  color: #FFAB91;
}

.star.empty {
  fill: #e5e7eb;
  color: #e5e7eb;
}

/* =====================
   FAQ ACCORDION
===================== */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
}

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

/* =====================
   ORDER FORM SUCCESS
===================== */
.form-success-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(255,245,242,0.97);
  border-radius: 1.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  z-index: 10;
}

.form-success-overlay.show {
  display: flex;
}

/* =====================
   MOBILE MENU ANIMATION
===================== */
#mobile-menu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

#mobile-menu.open {
  max-height: 500px;
  opacity: 1;
}

/* =====================
   CARD HOVER
===================== */
.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(61,44,44,0.1);
}

/* =====================
   GRADIENT TEXT
===================== */
.gradient-text {
  background: linear-gradient(135deg, #FFAB91 0%, #3D2C2C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =====================
   SECTION DIVIDER
===================== */
.wave-divider {
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

/* =====================
   PRINT / REDUCED MOTION
===================== */
@media (prefers-reduced-motion: reduce) {
  html.js-anim html.js-anim html.js-anim [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}