/* =====================================================================
   تنگسیرکالا — صفحهٔ اصلی (لندینگ)
   هر بخش هم‌نام فایلش در template-parts/landing است:
   hero، categories، features، steps، levels، cta
   ===================================================================== */

/* ---------- hero: بالای صفحه ---------- */
.tk-hero { position: relative; overflow: hidden; padding-block: 64px 80px; background: radial-gradient(1200px 500px at 85% -10%, var(--tk-yellow-soft), transparent 60%); }
.tk-hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; }
.tk-hero__title { margin-block: 16px; font-size: clamp(28px, 4.2vw, 48px); line-height: 1.45; font-weight: 900; }
.tk-hero__lead { max-width: 600px; color: var(--tk-muted); font-size: 17px; }
.tk-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tk-hero__points { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; font-size: 14px; font-weight: 700; }
.tk-hero__points li { display: flex; align-items: center; gap: 6px; }
.tk-hero__points .tk-icon { color: var(--tk-success); }

/* کارت نمایشی پیش‌فاکتور */
/* قاب بیرونی کج می‌شود و سایهٔ زرد پشت کارت را می‌سازد (روی خود کارت نباشد تا زمینهٔ سفید کارت را نپوشاند) */
.tk-hero__visual { position: relative; transform: rotate(-2deg); }
.tk-hero__visual::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--tk-radius-lg); background: var(--tk-yellow); }
.tk-invoice { position: relative; padding: 24px; border: 1px solid var(--tk-line); border-radius: var(--tk-radius-lg); background: var(--tk-white); box-shadow: 0 30px 60px rgba(20, 29, 38, .10); }
.tk-invoice__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed #D9DDE3; }
.tk-invoice__head b { display: block; font-size: 16px; }
.tk-invoice__head span { color: var(--tk-muted); font-size: 13px; }
.tk-invoice__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--tk-yellow-soft); }
.tk-invoice__rows { display: flex; flex-direction: column; gap: 10px; padding-block: 16px; font-size: 14px; }
.tk-invoice__rows li { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 10px; background: var(--tk-pale); }
.tk-invoice__rows li span:last-child { font-weight: 800; }
.tk-invoice__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.tk-invoice__foot span:first-child { display: flex; align-items: center; gap: 6px; color: var(--tk-muted); }
.tk-invoice__badge { padding: 4px 12px; border-radius: 999px; background: #E7F8EE; color: var(--tk-success); font-weight: 800; }

/* ---------- categories: دسته‌بندی‌ها ---------- */
.tk-cats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tk-cat { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; padding: 24px 16px; border: 1px solid var(--tk-line); border-radius: var(--tk-radius); text-align: center; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.tk-cat:hover { border-color: var(--tk-yellow); box-shadow: var(--tk-shadow); transform: translateY(-2px); }
.tk-cat__media { width: 88px; height: 88px; display: grid; place-items: center; overflow: hidden; border-radius: 20px; background: var(--tk-pale); }
.tk-cat__media img { width: 76px; height: 76px; object-fit: contain; mix-blend-mode: multiply; }
.tk-cat__name { font-weight: 800; }
.tk-cat__count { color: var(--tk-muted); font-size: 13px; }

/* ---------- features: چرا تنگسیرکالا ---------- */
.tk-features { background: var(--tk-pale); }
.tk-features__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tk-feature { padding: 24px; border-radius: var(--tk-radius); background: var(--tk-white); }
.tk-feature__icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 14px; background: var(--tk-yellow); }
.tk-feature__title { margin-bottom: 6px; font-size: 17px; }
.tk-feature__text { color: var(--tk-muted); font-size: 14px; }

/* ---------- steps: روند خرید ---------- */
.tk-steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.tk-step { position: relative; padding: 24px; border: 1px solid var(--tk-line); border-radius: var(--tk-radius); }
.tk-step__num { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 50%; background: var(--tk-ink); color: var(--tk-yellow); font-weight: 900; }
.tk-step__title { margin-bottom: 6px; font-size: 16px; }
.tk-step__text { color: var(--tk-muted); font-size: 14px; }
.tk-steps__more { margin-top: 24px; text-align: center; }

/* ---------- levels: سطح‌های همکاری ---------- */
.tk-levels { padding-top: 0; }
.tk-levels__box { display: flex; align-items: center; gap: 24px; padding: 32px; border-radius: var(--tk-radius-lg); background: var(--tk-yellow-soft); }
.tk-levels__icon { width: 72px; height: 72px; flex: none; display: grid; place-items: center; border-radius: 20px; background: var(--tk-yellow); }
.tk-levels__text { flex: 1 1 auto; }
.tk-levels__text p { margin-top: 6px; color: #4A3B00; }

/* ---------- cta: دعوت پایانی ---------- */
.tk-cta { padding-block: 56px; background: var(--tk-yellow); }
.tk-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.tk-cta__title { font-size: clamp(22px, 3vw, 32px); }
.tk-cta__text { margin-top: 6px; max-width: 620px; }
.tk-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- تبلت ---------- */
@media (max-width: 1024px) {
	.tk-hero__inner { grid-template-columns: 1fr; }
	.tk-hero__visual { max-width: 480px; }
	.tk-cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tk-features__grid, .tk-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tk-cta__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- موبایل ---------- */
@media (max-width: 767px) {
	.tk-hero { padding-block: 40px 56px; }
	.tk-hero__actions .tk-btn { flex: 1 1 100%; }
	.tk-hero__visual { display: none; }                 /* کارت نمایشی در موبایل حذف؛ تمرکز روی پیام و دکمه */
	.tk-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.tk-cat { padding: 16px 10px; }
	.tk-cat__media { width: 72px; height: 72px; }
	.tk-features__grid, .tk-steps__list { grid-template-columns: 1fr; }
	.tk-levels__box { flex-direction: column; align-items: flex-start; padding: 24px; }
	.tk-cta__actions, .tk-cta__actions .tk-btn { width: 100%; }
}
