:root {
  --bg: #faf6ef;
  --surface: #fffdf8;
  --tint: #f2ead9;
  --text: #211c16;
  --muted: #6f6659;
  --border: #e6dcc8;
  --accent: #b54a2a;
  --accent-dark: #96391f;
  --shadow-sm: 0 1px 3px rgba(33, 28, 22, 0.06);
  --shadow-md: 0 12px 32px rgba(96, 71, 41, 0.10);
  --radius: 10px;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 720px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.92rem; padding: 12px 20px;
  border-radius: 8px; border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--sm { padding: 9px 15px; font-size: 0.85rem; }
.wa-icon { flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-weight: 600; font-size: 1.3rem; }
.brand-mark { color: var(--accent); font-size: 1.15rem; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.nav-link { font-weight: 500; color: var(--muted); font-size: 0.92rem; transition: color 0.15s ease; }
.nav-link:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 1px; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 88px; }
.hero-inner { max-width: 760px; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 22px; }
.grad-text { color: var(--accent); font-style: italic; }
.hero-sub { color: var(--muted); font-size: 1.1rem; max-width: 560px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--tint { background: var(--tint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 640px; margin: 0 0 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.02rem; }

/* ---------- Category cards ---------- */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px;
  transition: border-color 0.15s ease, transform 0.15s ease;
  cursor: pointer;
}
.category-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.category-card .cat-emoji { font-size: 1.6rem; }
.category-card h3 { font-size: 1.2rem; }
.category-card p { color: var(--muted); font-size: 0.88rem; }

/* ---------- Filter tabs ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.tab {
  padding: 8px 16px; border-radius: 6px;
  border: 1px solid var(--border); background: transparent;
  color: var(--muted); font-weight: 600; font-size: 0.88rem;
  transition: all 0.15s ease;
}
.tab:hover { border-color: var(--accent); color: var(--accent); }
.tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--surface); color: var(--text);
  font-size: 0.72rem; font-weight: 600; padding: 4px 10px;
  border-radius: 4px; border: 1px solid var(--border);
}
.product-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body h3 { font-size: 1.2rem; }
.product-body p { color: var(--muted); font-size: 0.9rem; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.price { font-weight: 700; font-size: 1.1rem; }

.empty-state { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; }
.step-num { display: block; font-family: var(--font-serif); font-size: 2.4rem; font-weight: 600; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.testimonial blockquote { font-family: var(--font-serif); font-size: 1.02rem; margin-bottom: 18px; }
.testimonial figcaption { color: var(--muted); font-size: 0.88rem; }
.testimonial figcaption strong { color: var(--text); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 18px 22px; font-size: 1rem; font-weight: 600; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-q::after { content: "+"; font-size: 1.3rem; color: var(--accent); line-height: 1; transition: transform 0.2s ease; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #211c16; color: #c9bfae; padding: 54px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-brand .brand-name { color: #f4ede0; font-family: var(--font-serif); font-size: 1.3rem; display: block; margin-bottom: 8px; }
.footer-brand p { font-size: 0.95rem; max-width: 280px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #c9bfae; transition: color 0.15s ease; }
.footer-links a:hover { color: #f4ede0; }
.footer-cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer-note { font-size: 0.85rem; color: #8d8372; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-nav {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
    padding: 0 24px;
  }
  .site-nav.open { max-height: 320px; padding: 12px 24px; }
  .site-nav .nav-link { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .site-nav .nav-link:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn--primary { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 56px 0 64px; }
}
