/* ─────────────────────────────────────────────────────────────
   کیانابیوتی — استایل سایت عمومی (کرم/طلایی، RTL)
───────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Vazirmatn';
  src: url('/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}

:root {
  --primary: #b8860b;
  --primary-2: #d4a72c;
  --primary-deep: #8f6606;
  --secondary: #8c6a5d;
  --accent: #f7efe6;
  --ink: #241d18;
  --ink-soft: #5d5047;
  --bg: #fffdfa;
  --bg-soft: #faf5ee;
  --line: #ece2d6;
  --radius: 20px;
  --shadow: 0 12px 40px rgba(88, 62, 34, .10);
  --shadow-lg: 0 24px 70px rgba(88, 62, 34, .16);
  --gold-grad: linear-gradient(135deg, #d9ad3c 0%, #b8860b 55%, #96690a 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.9;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
.lnum { direction: ltr; unicode-bidi: embed; letter-spacing: .5px; }
.container { width: min(1220px, 92%); margin-inline: auto; }
.ic { width: 20px; height: 20px; flex: 0 0 auto; }
.ic.sm { width: 17px; height: 17px; }
.ic.flip { transform: scaleX(-1); }

/* ─── دکمه‌ها ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 100px; font-weight: 700; font-size: .95rem;
  transition: all .3s ease; white-space: nowrap; border: 2px solid transparent;
}
.btn-gold { background: var(--gold-grad); color: #fff; box-shadow: 0 10px 26px rgba(184, 134, 11, .35); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(184, 134, 11, .45); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.btn-line { background: transparent; color: var(--primary); border-color: rgba(184, 134, 11, .45); }
.btn-line:hover { background: var(--primary); color: #fff; }
.btn-line-w { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-line-w:hover { background: #fff; color: var(--ink); }
.btn-white { background: #fff; color: var(--primary-deep); box-shadow: 0 10px 26px rgba(0, 0, 0, .15); }
.btn-white:hover { transform: translateY(-3px); }
.btn-tg { background: #27a5e7; color: #fff; }
.btn-tg:hover { background: #1b8fd0; transform: translateY(-2px); }
.btn-bale { background: #00a876; color: #fff; }
.btn-bale:hover { background: #008a63; transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-block { width: 100%; }

/* ─── نوار بالایی ─── */
.topbar { background: var(--ink); color: #d9cec2; font-size: .82rem; position: relative; z-index: 60; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 10px; }
.topbar-items { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.tb-it { display: inline-flex; align-items: center; gap: 6px; }
.tb-it .ic { color: var(--primary-2); }
a.tb-it:hover { color: #fff; }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); transition: all .3s;
}
.topbar-social a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* ─── هدر ─── */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 250, .88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 10px 30px rgba(88, 62, 34, .10); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 16px; background: var(--gold-grad);
  display: grid; place-items: center; color: #fff; box-shadow: 0 8px 20px rgba(184, 134, 11, .35);
}
.brand-tx b { display: block; font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.brand-tx small { color: var(--ink-soft); font-size: .7rem; letter-spacing: 3px; text-transform: uppercase; }
.nav { display: flex; gap: 4px; }
.nav-a { padding: 9px 14px; border-radius: 100px; font-weight: 500; color: var(--ink-soft); transition: all .25s; position: relative; }
.nav-a:hover { color: var(--primary); background: var(--accent); }
.nav-a.on { color: var(--primary); font-weight: 700; }
.nav-a.on::after {
  content: ''; position: absolute; bottom: 4px; right: 50%; transform: translateX(50%);
  width: 18px; height: 3px; border-radius: 3px; background: var(--gold-grad);
}
.header-cta { display: flex; align-items: center; gap: 10px; }
.btn-nav { padding: 11px 22px; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); align-items: center; justify-content: center; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(36, 29, 24, .5); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 48; }
body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }

/* ─── هیرو ─── */
.hero {
  position: relative; padding: 70px 0 90px; overflow: hidden;
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(212, 167, 44, .13), transparent 60%),
    radial-gradient(600px 500px at 0% 100%, rgba(140, 106, 93, .10), transparent 60%),
    var(--bg);
}
.hero::before {
  content: ''; position: absolute; top: -120px; left: -120px; width: 340px; height: 340px;
  border-radius: 50%; border: 60px solid rgba(184, 134, 11, .06); pointer-events: none;
}
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 100px;
  background: var(--accent); color: var(--primary-deep); font-weight: 700; font-size: .85rem;
  border: 1px solid rgba(184, 134, 11, .2); margin-bottom: 22px;
}
.hero-title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.35; margin-bottom: 20px; }
.hero-title em {
  font-style: normal;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--ink-soft); font-size: 1.06rem; max-width: 52ch; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: 12px 34px; padding-top: 26px;
  border-top: 1px dashed var(--line); width: fit-content;
}
.hs-it b { display: block; font-size: 1.5rem; font-weight: 800; color: var(--primary); line-height: 1.3; }
.hs-it span { color: var(--ink-soft); font-size: .83rem; }
.hero-img { position: relative; }
.hero-frame { position: relative; border-radius: 34px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-frame::after {
  content: ''; position: absolute; inset: 14px; border: 1.5px solid rgba(255, 255, 255, .5);
  border-radius: 24px; pointer-events: none;
}
.hero-frame img { width: 100%; height: 560px; object-fit: cover; }
.hero-img::before {
  content: ''; position: absolute; inset: auto -24px -24px auto; width: 130px; height: 130px;
  background: repeating-linear-gradient(45deg, rgba(184, 134, 11, .25) 0 6px, transparent 6px 12px);
  border-radius: 18px; z-index: -1;
}
.hero-float {
  position: absolute; display: flex; align-items: center; gap: 12px; background: rgba(255, 253, 250, .94);
  backdrop-filter: blur(8px); border-radius: 18px; padding: 13px 18px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-float .ic { width: 30px; height: 30px; color: var(--primary); }
.hero-float b { display: block; font-size: .92rem; line-height: 1.4; }
.hero-float small { color: var(--ink-soft); font-size: .76rem; }
.hf-1 { top: 42px; right: -18px; animation: floaty 5s ease-in-out infinite; }
.hf-2 { bottom: 52px; left: -12px; animation: floaty 6s .8s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ─── سکشن‌ها ─── */
.sec { padding: 84px 0; }
.sec-soft { background: var(--bg-soft); }
.sec-dark { background: linear-gradient(145deg, #241d18, #332922 60%, #241d18); color: #f3eadf; }
.sec-dark .sec-title, .sec-dark p { color: inherit; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.about-tx .sec-head { text-align: right; margin-inline: 0; margin-bottom: 26px; }
.sec-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 18px; border-radius: 100px;
  background: var(--accent); color: var(--primary-deep); font-weight: 700; font-size: .8rem;
  border: 1px solid rgba(184, 134, 11, .2); margin-bottom: 16px;
}
.sec-dark .sec-badge { background: rgba(255, 255, 255, .08); color: var(--primary-2); border-color: rgba(255, 255, 255, .15); }
.sec-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 12px; }
.sec-title.ta-r { text-align: right; }
.sec-sub { color: var(--ink-soft); }
.sec-dark .sec-sub { color: #cbbbae; }
.sec-more { text-align: center; margin-top: 46px; }

/* ─── اسلایدر وبلاگ ─── */
.slider { position: relative; }
.slider-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 4px 22px; scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slide-it { flex: 0 0 min(370px, 86%); scroll-snap-align: start; }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 8px; }
.slider-btn {
  width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--primary); transition: all .3s; box-shadow: var(--shadow);
}
.slider-btn:hover { background: var(--gold-grad); color: #fff; border-color: transparent; transform: translateY(-3px); }
.slider-btn:disabled { opacity: .35; cursor: default; transform: none; background: #fff; color: var(--ink-soft); }

/* ─── کارت مقاله ─── */
.post-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transition: all .35s ease; height: 100%; display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pc-img { position: relative; display: block; overflow: hidden; }
.pc-img img { width: 100%; height: 220px; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .pc-img img { transform: scale(1.07); }
.pc-date {
  position: absolute; top: 14px; right: 14px; background: rgba(255, 253, 250, .95); border-radius: 14px;
  padding: 8px 13px; text-align: center; line-height: 1.3; font-size: .75rem; color: var(--ink-soft);
  box-shadow: var(--shadow);
}
.pc-date b { display: block; font-size: 1.1rem; color: var(--primary); font-weight: 800; }
.pc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.pc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pc-cat { color: var(--primary); background: var(--accent); font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 100px; }
.pc-view { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-soft); font-size: .78rem; }
.post-card h3 { font-size: 1.08rem; font-weight: 800; line-height: 1.7; margin-bottom: 8px; }
.post-card h3 a:hover { color: var(--primary); }
.pc-body > p { color: var(--ink-soft); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.pc-more { display: inline-flex; align-items: center; gap: 7px; color: var(--primary); font-weight: 700; font-size: .87rem; margin-top: 14px; }
.pc-more:hover { gap: 12px; }
.pc-more, .svc-link { transition: gap .3s; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* ─── کارت خدمت ─── */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.svc-grid.sg-2 { grid-template-columns: repeat(2, 1fr); }
.svc-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transition: all .35s ease; display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(184, 134, 11, .35); }
.svc-img { display: block; overflow: hidden; }
.svc-img img { width: 100%; height: 190px; object-fit: cover; transition: transform .6s ease; }
.svc-card:hover .svc-img img { transform: scale(1.07); }
.svc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 6px; }
.svc-body h3 a:hover { color: var(--primary); }
.svc-body > p { color: var(--ink-soft); font-size: .85rem; flex: 1; }
.svc-meta { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 12px; padding: 12px 0; border-block: 1px dashed var(--line); }
.svc-price { font-weight: 800; color: var(--primary); font-size: .94rem; }
.svc-dur { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-soft); font-size: .78rem; }
.svc-link { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 700; font-size: .88rem; }
.svc-link:hover { color: var(--primary); gap: 12px; }

/* ─── درباره ─── */
.about-strip { position: relative; overflow: hidden; }
.about-strip::before {
  content: ''; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px;
  border-radius: 50%; border: 55px solid rgba(212, 167, 44, .07);
}
.about-in { display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: 30px; height: 480px; width: 100%; object-fit: cover; box-shadow: var(--shadow-lg); }
.about-years {
  position: absolute; bottom: -22px; left: 26px; background: var(--gold-grad); color: #fff;
  border-radius: 22px; padding: 18px 26px; text-align: center; box-shadow: 0 16px 34px rgba(184, 134, 11, .4);
  line-height: 1.3;
}
.about-years b { display: block; font-size: 1.7rem; font-weight: 800; }
.about-years span { font-size: .8rem; }
.about-tx > p { color: #cbbbae; margin-bottom: 24px; }
.about-in2 .about-tx > p { color: var(--ink-soft); }
.feat-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 30px; }
.feat-it { display: flex; gap: 16px; align-items: flex-start; }
.feat-ic {
  width: 52px; height: 52px; border-radius: 16px; background: var(--gold-grad); color: #fff;
  display: grid; place-items: center; flex: 0 0 auto; box-shadow: 0 8px 18px rgba(184, 134, 11, .3);
}
.feat-it b { display: block; font-size: 1rem; margin-bottom: 3px; }
.feat-it p { color: #cbbbae; font-size: .88rem; margin: 0; }
.about-in2 .feat-it p, .sec:not(.sec-dark) .feat-it p { color: var(--ink-soft); }
.about-in2 .hero-stats { border-color: rgba(255, 255, 255, .15); }
.about-in2 .hs-it b { color: var(--primary); }
.commit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.commit-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; text-align: center; transition: all .35s; }
.commit-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.commit-card .feat-ic { margin: 0 auto 18px; }
.commit-card h3 { font-size: 1.04rem; font-weight: 800; margin-bottom: 8px; }
.commit-card p { color: var(--ink-soft); font-size: .88rem; }

/* ─── تیم ─── */
.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.staff-grid.sg-2 { grid-template-columns: repeat(2, 1fr); }
.staff-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: all .35s; text-align: center; }
.staff-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.st-img { display: block; padding: 22px 22px 0; }
.st-img img { width: 100%; aspect-ratio: 1/1.05; object-fit: cover; border-radius: 16px; }
.st-body { padding: 18px 20px 24px; }
.st-body h3 { font-size: 1.08rem; font-weight: 800; }
.st-role { display: block; color: var(--secondary); font-size: .85rem; margin: 4px 0 8px; }
.st-exp { display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: var(--primary-deep); padding: 5px 14px; border-radius: 100px; font-size: .78rem; font-weight: 700; }
.st-exp .ic { color: var(--primary); }
.st-actions { display: flex; gap: 8px; margin-top: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── گالری ─── */
.gal-filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.gf-btn {
  padding: 10px 24px; border-radius: 100px; border: 1.5px solid var(--line); background: #fff;
  font-weight: 700; font-size: .88rem; color: var(--ink-soft); transition: all .3s;
}
.gf-btn:hover { border-color: var(--primary); color: var(--primary); }
.gf-btn.on { background: var(--gold-grad); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(184, 134, 11, .3); }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.works-grid.wg-3 { grid-template-columns: repeat(3, 1fr); }
.work-it { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: all .4s; border: 1px solid var(--line); }
.work-it.hide { display: none; }
.work-it img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform .6s; }
.work-it:hover img { transform: scale(1.08); }
.work-it figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 20px 16px;
  background: linear-gradient(to top, rgba(24, 18, 13, .88), transparent); color: #fff;
  transform: translateY(30%); opacity: .9; transition: all .4s;
}
.work-it:hover figcaption { transform: translateY(0); opacity: 1; }
.work-it figcaption b { display: block; font-size: 1rem; }
.work-it figcaption span { font-size: .82rem; color: rgba(255, 255, 255, .8); display: block; }
.work-it figcaption em { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-style: normal; color: var(--primary-2); margin-top: 5px; }

/* ─── نظرات ─── */
.testi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; transition: all .35s; }
.testi-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.t-quote { position: absolute; top: 20px; left: 22px; color: rgba(184, 134, 11, .18); }
.t-quote .ic { width: 40px; height: 40px; }
.testi-card > p { color: var(--ink-soft); font-size: .9rem; margin-bottom: 20px; min-height: 120px; }
.t-user { display: flex; align-items: center; gap: 12px; border-top: 1px dashed var(--line); padding-top: 16px; }
.t-av {
  width: 46px; height: 46px; border-radius: 50%; background: var(--gold-grad); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; flex: 0 0 auto;
}
.t-user b { display: block; font-size: .95rem; }
.t-user small { color: var(--ink-soft); font-size: .76rem; }

/* ─── CTA ─── */
.cta-band {
  background: var(--gold-grad); position: relative; overflow: hidden;
  padding: 66px 0;
}
.cta-band::before, .cta-band::after {
  content: ''; position: absolute; border-radius: 50%; border: 46px solid rgba(255, 255, 255, .09);
}
.cta-band::before { top: -110px; right: -60px; width: 260px; height: 260px; }
.cta-band::after { bottom: -130px; left: -40px; width: 300px; height: 300px; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-in h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 8px; }
.cta-in p { color: rgba(255, 255, 255, .88); }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── فوتر ─── */
.footer { background: var(--ink); color: #bcae9f; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1.1fr; gap: 44px; padding-bottom: 50px; }
.f-brand .brand-tx b { color: #fff; }
.f-brand .brand-tx small { color: #8a7c6d; }
.f-about { font-size: .88rem; margin: 16px 0 20px; }
.f-social { display: flex; gap: 10px; }
.f-social a {
  width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .07);
  display: grid; place-items: center; transition: all .3s;
}
.f-social a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.f-title { color: #fff; font-size: 1.02rem; font-weight: 800; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.f-title::after { content: ''; position: absolute; bottom: 0; right: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--gold-grad); }
.f-link { display: block; padding: 6px 0; font-size: .9rem; transition: all .25s; }
.f-link:hover { color: var(--primary-2); transform: translateX(-5px); }
.f-it { display: flex; gap: 9px; font-size: .88rem; padding: 7px 0; align-items: flex-start; }
.f-it .ic { color: var(--primary-2); margin-top: 4px; }
a.f-it:hover { color: var(--primary-2); }
.f-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: .82rem; }
.f-bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.f-sig { color: #8a7c6d; }
.float-call {
  position: fixed; bottom: 24px; left: 24px; width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold-grad); color: #fff; display: grid; place-items: center; z-index: 45;
  box-shadow: 0 12px 28px rgba(184, 134, 11, .45); animation: pulse 2.4s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 12px 28px rgba(184, 134, 11, .45), 0 0 0 0 rgba(184, 134, 11, .35); } 70% { box-shadow: 0 12px 28px rgba(184, 134, 11, .45), 0 0 0 16px rgba(184, 134, 11, 0); } 100% { box-shadow: 0 12px 28px rgba(184, 134, 11, .45), 0 0 0 0 rgba(184, 134, 11, 0); } }

/* ─── هیروی داخلی ─── */
.page-hero {
  background:
    radial-gradient(500px 300px at 85% 20%, rgba(212, 167, 44, .16), transparent 60%),
    linear-gradient(150deg, #241d18, #352a21 70%, #241d18);
  color: #fff; padding: 66px 0;
}
.page-hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.page-hero h1 .ic { color: var(--primary-2); width: 30px; height: 30px; }
.page-hero p { color: #cbbbae; max-width: 70ch; }
.hero-code { color: var(--primary-2); letter-spacing: 1px; direction: ltr; unicode-bidi: embed; }
.crumbs { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .82rem; color: #a59785; }
.crumbs a:hover { color: var(--primary-2); }
.crumbs i { font-style: normal; opacity: .5; }
.crumbs span { color: var(--primary-2); font-weight: 700; }

/* ─── صفحات جزئیات ─── */
.detail-in { display: grid; grid-template-columns: 1.7fr .8fr; gap: 40px; align-items: start; }
.detail-img { border-radius: 26px; width: 100%; height: 380px; object-fit: cover; box-shadow: var(--shadow); margin-bottom: 26px; }
.detail-meta { display: flex; gap: 14px 28px; flex-wrap: wrap; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px; padding: 16px 22px; margin-bottom: 30px; }
.detail-meta span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: .92rem; }
.detail-meta b { color: var(--ink); }
.detail-meta .ic { color: var(--primary); }
.detail-h { font-size: 1.35rem; font-weight: 800; margin: 34px 0 14px; position: relative; padding-right: 18px; }
.detail-h::before { content: ''; position: absolute; right: 0; top: 8px; bottom: 8px; width: 5px; border-radius: 5px; background: var(--gold-grad); }
.detail-p { color: var(--ink-soft); margin-bottom: 14px; font-size: 1.02rem; }
.detail-side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 24px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.side-box h3 { display: flex; align-items: center; gap: 9px; font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; }
.side-box h3 .ic { color: var(--primary); }
.side-box > p { color: var(--ink-soft); font-size: .88rem; margin-bottom: 16px; }
.side-price { display: flex; align-items: center; justify-content: space-between; background: var(--bg-soft); border-radius: 14px; padding: 13px 18px; margin-bottom: 18px; font-size: .85rem; color: var(--ink-soft); }
.side-price b { color: var(--primary); font-size: 1.02rem; }
.side-rel { display: flex; gap: 13px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); transition: all .25s; }
.side-rel:last-child { border-bottom: none; }
.side-rel:hover { transform: translateX(-4px); }
.side-rel img { width: 62px; height: 62px; border-radius: 14px; object-fit: cover; flex: 0 0 auto; }
.side-rel b { display: block; font-size: .9rem; line-height: 1.6; }
.side-rel span { color: var(--primary); font-size: .8rem; font-weight: 700; }
.article .detail-img { height: 420px; }
.art-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--ink-soft); font-size: .88rem; margin-bottom: 18px; }
.art-meta span { display: inline-flex; align-items: center; gap: 7px; }
.art-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--gold-grad); border-radius: var(--radius); padding: 22px 28px; margin-top: 40px;
}
.art-cta b { color: #fff; font-size: 1.1rem; }

/* ─── پروفایل متخصص ─── */
.profile-in { display: grid; grid-template-columns: .75fr 1.6fr; gap: 40px; align-items: start; }
.profile-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow); position: sticky; top: 110px; }
.profile-card img { width: 100%; aspect-ratio: 1/1.03; object-fit: cover; border-radius: 18px; margin-bottom: 18px; }
.profile-name { display: block; font-size: 1.3rem; font-weight: 800; }
.profile-card .st-role { margin: 6px 0 12px; }
.profile-card .st-exp { margin-bottom: 20px; }

/* ─── تماس ─── */
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.ci-card { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: all .3s; }
.ci-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ci-card > .ic { width: 46px; height: 46px; color: var(--primary); background: var(--accent); border-radius: 14px; padding: 12px; flex: 0 0 auto; }
.ci-card b { display: block; font-size: 1.02rem; margin-bottom: 6px; }
.ci-card p { color: var(--ink-soft); font-size: .9rem; }
.hours-t { width: 100%; font-size: .9rem; }
.hours-t td { padding: 5px 0; color: var(--ink-soft); border-bottom: 1px dashed var(--line); }
.hours-t tr:last-child td { border-bottom: none; }
.hours-t td:last-child { text-align: left; color: var(--ink); font-weight: 500; }
.hours-t tr.off td { color: #c0392b; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.contact-form h3 { display: flex; align-items: center; gap: 9px; font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.contact-form h3 .ic { color: var(--primary); }
.contact-form > p { color: var(--ink-soft); font-size: .9rem; margin-bottom: 22px; }

/* ─── فیلدها ─── */
.fld { display: block; margin-bottom: 16px; }
.fld > span { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 7px; }
.fld > span i { color: #c0392b; font-style: normal; }
.fld input, .fld textarea, .fld select {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 14px;
  background: var(--bg); transition: all .25s; font-size: .95rem; color: var(--ink);
}
.fld input:focus, .fld textarea:focus, .fld select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(184, 134, 11, .13); background: #fff;
}
.fld input[type="tel"], .fld input[dir="ltr"] { direction: ltr; text-align: left; }
.form-err { display: none; background: #fdf0ee; color: #b3392f; border: 1px solid #f3d0cb; border-radius: 12px; padding: 12px 16px; font-size: .88rem; font-weight: 500; margin-bottom: 14px; }
.form-ok { display: none; background: #eefaf2; color: #1c7a43; border: 1px solid #c9ecd6; border-radius: 12px; padding: 12px 16px; font-size: .88rem; font-weight: 500; margin-top: 12px; }
.form-err.on, .form-ok.on { display: block; }

/* ─── ویزارد رزرو ─── */
.booking-sec { background: var(--bg-soft); }
.wizard { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 40px; box-shadow: var(--shadow); max-width: 1020px; margin: 0 auto; }
.wz-steps { display: flex; justify-content: space-between; position: relative; margin-bottom: 42px; }
.wz-steps::before { content: ''; position: absolute; top: 24px; right: 24px; left: 24px; height: 3px; background: var(--line); border-radius: 3px; }
.wz-step { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; z-index: 1; flex: 1; }
.wz-n {
  width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 3px solid var(--line);
  display: grid; place-items: center; font-weight: 800; color: var(--ink-soft); transition: all .3s; font-size: 1.05rem;
}
.wz-t { font-size: .8rem; color: var(--ink-soft); font-weight: 500; text-align: center; }
.wz-step.on .wz-n { background: var(--gold-grad); border-color: transparent; color: #fff; box-shadow: 0 8px 20px rgba(184, 134, 11, .4); }
.wz-step.on .wz-t { color: var(--primary); font-weight: 800; }
.wz-step.done .wz-n { background: var(--accent); border-color: var(--primary); color: var(--primary); }
.wz-panel { display: none; animation: fadeUp .4s ease; }
.wz-panel.on { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.wz-h { font-size: 1.2rem; font-weight: 800; margin-bottom: 24px; }
.wz-h small { font-weight: 500; color: var(--primary); font-size: .9rem; }
.pick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pick-grid.pg-2 { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
.pick-card {
  border: 2px solid var(--line); border-radius: 18px; overflow: hidden; cursor: pointer;
  transition: all .3s; background: #fff; position: relative; text-align: right;
}
.pick-card:hover { border-color: rgba(184, 134, 11, .5); transform: translateY(-4px); }
.pick-card.sel { border-color: var(--primary); box-shadow: 0 10px 26px rgba(184, 134, 11, .22); }
.pick-card img { width: 100%; height: 120px; object-fit: cover; }
.pick-body { padding: 14px 16px; }
.pick-body b { display: block; font-size: .92rem; line-height: 1.6; }
.pick-body small { color: var(--ink-soft); font-size: .78rem; display: block; }
.pick-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; font-size: .78rem; }
.pick-price { color: var(--primary); font-weight: 800; }
.pick-dur { color: var(--ink-soft); }
.pick-check {
  position: absolute; top: 10px; left: 10px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold-grad); color: #fff; display: grid; place-items: center;
  opacity: 0; transform: scale(.5); transition: all .3s; box-shadow: 0 6px 14px rgba(184, 134, 11, .4);
}
.pick-card.sel .pick-check { opacity: 1; transform: scale(1); }
.empty-note { grid-column: 1/-1; text-align: center; color: var(--ink-soft); padding: 40px 10px; background: var(--bg-soft); border-radius: 16px; border: 1.5px dashed var(--line); }

/* تقویم رزرو */
.cal { max-width: 560px; margin: 0 auto; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-head b { font-size: 1.15rem; font-weight: 800; color: var(--primary-deep); }
.cal-nav { width: 46px; height: 46px; border-radius: 14px; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--primary); transition: all .3s; }
.cal-nav:hover:not(:disabled) { background: var(--gold-grad); color: #fff; border-color: transparent; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 8px; }
.cal-week span { text-align: center; font-size: .75rem; font-weight: 700; color: var(--ink-soft); padding: 8px 0; }
.cal-week .fr { color: #c0392b; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-cell {
  aspect-ratio: 1/1; border-radius: 13px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; border: 1.5px solid transparent; background: var(--bg-soft);
  font-size: .95rem; transition: all .25s; line-height: 1.3; padding: 2px;
}
.cal-cell em { font-style: normal; font-weight: 700; }
.cal-cell i { font-style: normal; font-size: .62rem; color: var(--ink-soft); }
.cal-cell i.off { color: #c0392b; }
.cal-cell.empty { background: transparent; border: none; }
.cal-cell.open { background: #fff; border-color: rgba(184, 134, 11, .35); cursor: pointer; }
.cal-cell.open:hover { background: var(--accent); transform: scale(1.06); }
.cal-cell.open.sel { background: var(--gold-grad); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(184, 134, 11, .4); }
.cal-cell.open.sel i { color: rgba(255, 255, 255, .85); }
.cal-cell.past, .cal-cell.far { background: transparent; color: #c6bbaa; cursor: default; }
.cal-cell.closed { background: rgba(192, 57, 43, .06); color: #c0392b; cursor: default; }
.cal-cell.full { background: var(--bg-soft); color: #b8ab97; cursor: default; text-decoration: line-through; }
.cal-cell.today { border-color: var(--primary); }
.cal-legend { display: flex; justify-content: center; gap: 20px; margin-top: 18px; font-size: .78rem; color: var(--ink-soft); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.lg.open { background: #fff; border: 2px solid var(--primary); }
.lg.full { background: var(--bg-soft); border: 1px solid var(--line); }
.lg.closed { background: rgba(192, 57, 43, .25); }

/* اسلات‌ها */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)); gap: 12px; }
.slot {
  padding: 13px 6px; border-radius: 13px; border: 1.5px solid var(--line); background: #fff;
  font-weight: 700; font-size: .98rem; transition: all .25s; text-align: center;
}
.slot:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.slot.sel { background: var(--gold-grad); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(184, 134, 11, .35); }

/* مرحله ۵ */
.bk-cols { display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px; align-items: start; }
.bk-note { display: block; color: var(--ink-soft); font-size: .78rem; margin-top: 12px; text-align: center; }
.bk-sum { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 110px; }
.bk-sum h4 { font-size: 1rem; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.bk-sum h4 .ic { color: var(--primary); }
.sum-line { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.sum-line span { color: var(--ink-soft); }
.sum-line b { font-weight: 700; text-align: left; }
.sum-total { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; margin-top: 6px; border-top: 2px solid var(--line); }
.sum-total b { color: var(--primary); font-size: 1.06rem; font-weight: 800; }
.wz-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.wz-hint { color: var(--ink-soft); font-size: .85rem; }
#wzBack:disabled { opacity: .35; cursor: default; transform: none; }

/* مودال نوبت تکراری */
.modal {
  position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center;
  background: rgba(36, 29, 24, .55); backdrop-filter: blur(4px); padding: 18px;
}
.modal.open { display: flex; }
.modal-box {
  background: #fff; border-radius: 26px; max-width: 520px; width: 100%; padding: 36px 30px; position: relative;
  box-shadow: var(--shadow-lg); animation: pop .35s ease; max-height: 90vh; overflow-y: auto; text-align: center;
}
@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(16px); } to { opacity: 1; transform: none; } }
.modal-x { position: absolute; top: 16px; left: 16px; width: 38px; height: 38px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; transition: all .25s; }
.modal-x:hover { background: #fdecea; color: #c0392b; }
.modal-ic { width: 68px; height: 68px; border-radius: 22px; background: var(--accent); color: var(--primary); display: inline-grid; place-items: center; margin-bottom: 16px; }
.modal-ic .ic { width: 34px; height: 34px; }
.modal-box h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; }
.modal-box > p { color: var(--ink-soft); font-size: .92rem; }
.dup-code { background: var(--bg-soft); border: 1.5px dashed var(--line); border-radius: 14px; padding: 13px; margin: 18px 0; font-size: .92rem; }
.dup-code b { color: var(--primary); letter-spacing: 1px; direction: ltr; unicode-bidi: embed; font-size: 1.05rem; }
.dup-cr { text-align: right; border-top: 1px solid var(--line); padding-top: 20px; }
.dup-cr h4 { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.dup-cr h4 .ic { color: var(--primary); }
.dup-cr-p { color: var(--ink-soft); font-size: .84rem; margin-bottom: 16px; }

/* ─── صفحه موفقیت ─── */
.success-in { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; }
.deposit-box { background: linear-gradient(160deg, #fffdf7, #fdf4e0); border: 2px solid rgba(184, 134, 11, .3); border-radius: 26px; padding: 36px; box-shadow: var(--shadow); }
.dep-head { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.dep-head .ic { width: 44px; height: 44px; color: var(--primary); background: #fff; border-radius: 14px; padding: 10px; box-shadow: var(--shadow); }
.dep-head h2 { font-size: 1.3rem; font-weight: 800; }
.dep-p { color: var(--ink-soft); font-size: .94rem; margin-bottom: 22px; }
.dep-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 24px; }
.dep-it { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px 17px; }
.dep-it span { display: block; font-size: .76rem; color: var(--ink-soft); margin-bottom: 3px; }
.dep-it b { font-size: 1rem; }
.dep-it.gold { background: var(--gold-grad); border-color: transparent; }
.dep-it.gold span, .dep-it.gold b { color: #fff; }
.dep-btns { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.dep-btns .btn { width: 100%; padding: 15px; font-size: 1rem; }
.dep-form { border-top: 1.5px dashed rgba(184, 134, 11, .35); padding-top: 22px; }
.dep-form h3 { display: flex; align-items: center; gap: 8px; font-size: 1.02rem; font-weight: 800; margin-bottom: 6px; }
.dep-form h3 .ic { color: var(--primary); }
.dep-form > p { color: var(--ink-soft); font-size: .84rem; margin-bottom: 16px; }
.dep-flds { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bk-detail { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 34px; box-shadow: var(--shadow); }
.bk-detail h2 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 800; margin-bottom: 20px; }
.bk-detail h2 .ic { color: var(--primary); width: 26px; height: 26px; }
.bk-table { width: 100%; border-collapse: collapse; }
.bk-table th, .bk-table td { padding: 12px 6px; text-align: right; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.bk-table th { color: var(--ink-soft); font-weight: 500; width: 130px; }
.bk-table tr:last-child th, .bk-table tr:last-child td { border-bottom: none; }
.badge { display: inline-block; padding: 5px 15px; border-radius: 100px; font-size: .8rem; font-weight: 700; }
.badge.warn { background: #fff5dd; color: #946200; }
.badge.ok { background: #e7f8ee; color: #14803c; }
.badge.bad { background: #fdecea; color: #c0392b; }
.bk-note2 { display: flex; gap: 8px; align-items: flex-start; background: var(--bg-soft); border-radius: 13px; padding: 14px 16px; color: var(--ink-soft); font-size: .84rem; margin-top: 18px; }
.bk-note2 .ic { color: var(--primary); margin-top: 3px; }
.bk-links { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

/* ─── ۴۰۴ ─── */
.nf-in { text-align: center; padding: 60px 0; }
.nf-code { font-size: 6rem; font-weight: 800; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; display: block; }
.nf-in h1 { font-size: 1.6rem; font-weight: 800; margin: 18px 0 10px; }
.nf-in p { color: var(--ink-soft); margin-bottom: 28px; }
.nf-btns { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }

/* ─── انیمیشن ظاهر شدن ─── */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ─── ریسپانسیو ─── */
@media (max-width: 1080px) {
  .svc-grid, .staff-grid, .testi-grid, .commit-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .pick-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 60px; }
  .hero-frame img { height: 420px; }
  .about-in, .detail-in, .contact-in, .profile-in { grid-template-columns: 1fr; }
  .detail-side, .profile-card, .bk-sum { position: static; }
  .bk-cols { grid-template-columns: 1fr; }
  .bk-sum { order: -1; }
  .nav {
    position: fixed; top: 0; right: -100%; width: min(320px, 84vw); height: 100vh; z-index: 49;
    background: #fff; flex-direction: column; padding: 100px 24px 30px; gap: 6px;
    transition: right .35s ease; box-shadow: -10px 0 40px rgba(0, 0, 0, .12);
  }
  body.nav-open .nav { right: 0; }
  .nav-a { padding: 13px 16px; border-radius: 14px; font-size: 1rem; }
  .nav-a.on { background: var(--accent); }
  .nav-a.on::after { display: none; }
  .nav-burger { display: grid; }
  .btn-nav { display: none; }
  .hero-stats { grid-template-columns: repeat(4, auto); gap: 10px 20px; }
}
@media (max-width: 640px) {
  .svc-grid, .staff-grid, .testi-grid, .commit-grid, .posts-grid,
  .works-grid, .works-grid.wg-3, .pick-grid, .pick-grid.pg-2 { grid-template-columns: 1fr 1fr; }
  .wizard { padding: 26px 18px; }
  .wz-t { font-size: .68rem; }
  .wz-n { width: 40px; height: 40px; font-size: .92rem; }
  .wz-steps::before { top: 20px; right: 20px; left: 20px; }
  .tb-hide { display: none; }
  .cta-in { flex-direction: column; text-align: center; justify-content: center; }
  .cta-btns { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .hf-1 { right: 4px; }
  .hf-2 { left: 4px; }
  .dep-flds { grid-template-columns: 1fr; }
  .deposit-box, .bk-detail { padding: 24px 18px; }
  .detail-img { height: 260px; }
  .article .detail-img { height: 260px; }
  .sec { padding: 58px 0; }
  .testi-card > p { min-height: 0; }
  .float-call { width: 50px; height: 50px; bottom: 16px; left: 16px; }
}
@media (max-width: 430px) {
  .svc-grid, .staff-grid, .testi-grid, .posts-grid, .works-grid, .works-grid.wg-3 { grid-template-columns: 1fr; }
  .pick-grid, .pick-grid.pg-2 { grid-template-columns: 1fr; }
  .slot-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── متن HTML مقالات (ورود از پنل) ─── */
.art-html { font-size: 1.03rem; line-height: 2.05; color: var(--ink-soft); }
.art-html h2 { font-size: 1.35rem; font-weight: 800; margin: 32px 0 14px; position: relative; padding-right: 18px; color: #23211c; }
.art-html h2::before { content: ''; position: absolute; right: 0; top: 8px; bottom: 8px; width: 5px; border-radius: 5px; background: var(--gold-grad); }
.art-html h3 { font-size: 1.15rem; font-weight: 800; margin: 24px 0 10px; color: #23211c; }
.art-html h4 { font-size: 1.02rem; font-weight: 800; margin: 20px 0 8px; color: #23211c; }
.art-html p { margin: 0 0 15px; }
.art-html strong, .art-html b { font-weight: 800; color: #23211c; }
.art-html a { color: var(--primary); text-decoration: underline; }
.art-html ul, .art-html ol { margin: 0 1.4rem 16px 0; padding: 0; }
.art-html li { margin-bottom: 8px; }
.art-html blockquote { margin: 20px 0; padding: 16px 22px; border-right: 4px solid var(--primary); background: var(--accent); border-radius: 12px; }
.art-html img { max-width: 100%; border-radius: 16px; margin: 14px 0; }
.art-html hr { border: none; border-top: 1px dashed #e2dccf; margin: 26px 0; }
.art-html table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .95rem; }
.art-html th, .art-html td { border: 1px solid #e8e2d4; padding: 9px 14px; text-align: right; }
.art-html th { background: var(--accent); font-weight: 800; }
