:root {
  --gold: #c8a45a;
  --gold-l: #e8d9a0;
  --gold-d: #a8832f;
  --brown: #3d2b1f;
  --cream: #f7f1e4;
  --paper: #fffaf1;
  --green: #2e7d32;
  --green-d: #1b5e20;
  --ink: #1a1208;
  --muted: #7a6a58;
  --line: rgba(200, 164, 90, 0.28);
  --shadow: 0 18px 50px rgba(26, 18, 8, 0.12);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Vazirmatn, Tahoma, sans-serif;
  background: var(--cream);
  color: var(--brown);
  line-height: 1.8;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, select, input, textarea { font-family: inherit; }
.container { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }

.skip {
  position: absolute; inset-inline-start: -999px;
  background: var(--ink); color: #fff; padding: 8px 12px;
}
.skip:focus { inset-inline-start: 12px; top: 12px; z-index: 80; }

.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(26, 18, 8, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(145deg, var(--gold), var(--gold-d));
  display: grid; place-items: center; font-size: 1.2rem;
  animation: bob 3.6s ease-in-out infinite;
}
.nav-links { display: flex; gap: 22px; color: var(--gold-l); font-size: 0.95rem; }
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -6px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.cart-btn {
  border: 0; cursor: pointer; color: var(--ink); font-weight: 800;
  background: linear-gradient(135deg, var(--gold-l), var(--gold));
  border-radius: 999px; padding: 10px 16px; display: flex; gap: 8px; align-items: center;
}
.cart-count {
  min-width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); color: var(--gold-l);
  display: grid; place-items: center; font-size: 0.75rem;
}

.hero {
  position: relative; min-height: min(92vh, 860px);
  background: radial-gradient(1200px 500px at 80% 10%, rgba(200,164,90,.18), transparent 50%),
              linear-gradient(165deg, #2a1f14 0%, #1a1208 46%, #3d2b1f 100%);
  overflow: hidden; color: #fff;
}
.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(circle at 20% 30%, #c8a45a 1px, transparent 1.6px),
                    radial-gradient(circle at 70% 60%, #e8d9a0 1px, transparent 1.5px);
  background-size: 42px 42px, 28px 28px;
  animation: drift 22s linear infinite;
}
.hero-grid {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding: 72px 0 88px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.35; }
.accent { color: var(--gold); }
.hero h2 { color: var(--gold-l); font-weight: 500; font-size: 1.25rem; margin: 10px 0 22px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.badge {
  border: 1px solid var(--line); color: var(--gold-l);
  background: rgba(200,164,90,.12); border-radius: 999px; padding: 6px 14px; font-size: .85rem;
}
.lead { color: #cfc3ae; max-width: 34rem; margin-bottom: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 14px; padding: 13px 24px; font-weight: 800; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-d)); color: #1a1208;
  box-shadow: 0 10px 28px rgba(200,164,90,.35);
}
.btn-ghost { background: transparent; color: var(--gold-l); border: 1px solid var(--gold); }
.btn-green { background: linear-gradient(135deg, var(--green), var(--green-d)); color: #fff; width: 100%; }
.bowl {
  width: min(360px, 100%); margin-inline: auto; aspect-ratio: 1;
  animation: bob 4.2s ease-in-out infinite;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.35));
}
.float-chip {
  position: absolute; background: var(--gold); color: var(--ink);
  border-radius: 999px; padding: 8px 14px; font-weight: 800; font-size: .85rem;
  animation: bob 3s ease-in-out infinite;
}
.chip-a { top: 18%; inset-inline-start: 4%; }
.chip-b { bottom: 22%; inset-inline-end: 2%; animation-delay: .8s; }
.hero-art { position: relative; }

.stats {
  background: #fffaf1; border-block: 1px solid var(--line);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 28px 0;
  text-align: center;
}
.stat b { display: block; color: var(--gold-d); font-size: 1.5rem; }
.stat span { color: var(--muted); font-size: .9rem; }

.section { padding: 84px 0; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); text-align: center; }
.rule {
  width: 72px; height: 4px; margin: 12px auto 18px; border-radius: 99px;
  background: linear-gradient(90deg, var(--gold-d), var(--gold-l));
}
.sub { text-align: center; color: var(--muted); margin-bottom: 36px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card, .product, .quote, .faq-item, .form-card {
  background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid rgba(61,43,31,.06);
}
.card { padding: 26px 20px; text-align: center; transition: transform .35s ease; }
.card:hover { transform: translateY(-8px); }
.ico { font-size: 2rem; margin-bottom: 10px; display: inline-block; animation: bob 3.8s ease-in-out infinite; }
.card h3 { margin-bottom: 8px; }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product { overflow: hidden; display: flex; flex-direction: column; }
.thumb {
  height: 168px; display: grid; place-items: center; font-size: 4.2rem;
  position: relative;
}
.p1 { background: linear-gradient(160deg, #f3e2b3, #c8a45a); }
.p2 { background: linear-gradient(160deg, #efe0c2, #b08940); }
.p3 { background: linear-gradient(160deg, #f7ead0, #8d6e3b); }
.tag {
  position: absolute; top: 12px; inset-inline-start: 12px;
  background: var(--green); color: #fff; border-radius: 999px;
  padding: 4px 10px; font-size: .75rem; font-weight: 800;
}
.body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price { font-size: 1.35rem; font-weight: 800; color: var(--green-d); }
.row { display: flex; align-items: center; gap: 10px; }
select, input, textarea {
  width: 100%; border: 1px solid #ddd2bc; border-radius: 12px;
  padding: 10px 12px; background: #fff; color: var(--brown);
}
select:focus, input:focus, textarea:focus {
  outline: 2px solid rgba(200,164,90,.45); border-color: var(--gold);
}

.cta {
  background: linear-gradient(135deg, #2a1f14, #1a1208);
  color: #d8ccb8; text-align: center;
}
.cta h2 { color: #fff; }
.phone { color: var(--gold-l); font-size: 1.4rem; display: inline-block; margin: 8px 0 22px; direction: ltr; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { padding: 24px; }
.stars { color: #e0a800; letter-spacing: 2px; margin-bottom: 8px; }
.who { margin-top: 14px; color: var(--muted); font-size: .9rem; }

.faq { width: min(760px, 100%); margin-inline: auto; display: grid; gap: 10px; }
.faq-item button {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; gap: 12px;
  padding: 16px 18px; font-weight: 800; color: var(--brown); text-align: right;
}
.faq-item p { max-height: 0; overflow: hidden; padding: 0 18px; color: var(--muted); transition: max-height .35s ease, padding .35s ease; }
.faq-item.open p { max-height: 180px; padding: 0 18px 16px; }

.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.form-card { padding: 24px; display: grid; gap: 12px; }
.form-note { color: var(--muted); font-size: .92rem; }

footer {
  background: #140e08; color: #cfc3ae; padding: 48px 0 24px;
}
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
footer h3 { color: #fff; margin-bottom: 10px; }
footer a:hover { color: var(--gold); }
.copy { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 16px; text-align: center; font-size: .85rem; }

.drawer {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
}
.drawer.open { pointer-events: auto; }
.backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .3s; }
.drawer.open .backdrop { opacity: 1; }
.panel {
  position: absolute; inset-block: 0; inset-inline-start: 0; width: min(420px, 92vw);
  background: #fffaf1; transform: translateX(110%); transition: transform .35s ease;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.drawer.open .panel { transform: none; }
.panel header, .panel footer { padding: 18px; display: flex; justify-content: space-between; align-items: center; }
.panel header { border-bottom: 1px solid var(--line); }
.cart-list { padding: 16px; overflow: auto; flex: 1; display: grid; gap: 10px; align-content: start; }
.cart-item {
  display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center;
  background: #fff; border-radius: 12px; padding: 12px;
}
.empty { color: var(--muted); text-align: center; padding: 40px 12px; }
.toast {
  position: fixed; bottom: 22px; inset-inline: 16px; margin-inline: auto;
  width: min(440px, calc(100% - 32px)); z-index: 70;
  background: linear-gradient(135deg, var(--green), var(--green-d));
  color: #fff; padding: 14px 18px; border-radius: 14px; text-align: center;
  transform: translateY(120%); transition: transform .35s ease; box-shadow: var(--shadow);
}
.toast.show { transform: none; }

.reveal { opacity: 0; transform: translateY(28px); animation: rise .8s ease forwards; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; }
.d4 { animation-delay: .32s; } .d5 { animation-delay: .4s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 120px 80px, -80px 60px; }
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero-grid, .features, .products, .quotes, .form-wrap, .foot, .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links { display: none; }
  .hero-grid { padding-top: 40px; }
}
@media (max-width: 640px) {
  .hero-grid, .features, .products, .quotes, .form-wrap, .foot, .stats-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
