/* ==========================================================================
   سالن زیبایی کیانابیوتی — استایل اصلی
   طراحی RTL، لوکس و کاملاً واکنش‌گرا
   ========================================================================== */

/* ---------- فونت ---------- */
@font-face {
  font-family: 'Vazirmatn';
  src: url('/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800; font-display: swap; font-style: normal;
}

/* ---------- متغیرها ---------- */
:root {
  --primary: #b8860b;
  --secondary: #8c6a5d;
  --accent: #f7efe6;

  --ink: #241d18;
  --ink-2: #55483f;
  --ink-3: #8d7f73;
  --line: #ece2d6;
  --bg: #fffdfa;
  --bg-soft: #faf5ee;
  --white: #fff;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow-sm: 0 2px 12px rgba(88, 62, 34, .06);
  --shadow: 0 12px 40px rgba(88, 62, 34, .10);
  --shadow-lg: 0 24px 70px rgba(88, 62, 34, .16);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1240px;
  --header-h: 84px;
}

/* ---------- ریست ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Vazirmatn', 'Dana', 'Estedad', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  direction: rtl; text-align: right;
  background: var(--bg); color: var(--ink);
  line-height: 1.9; font-size: 16px; font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
/* محافظ سراسری: هیچ آیکون SVG نباید بزرگ‌تر از حد معقول رندر شود */
svg { width: 20px; height: 20px; flex: none; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { line-height: 1.5; font-weight: 700; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--primary); color: #fff; }

/* ---------- ابزارها ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 100px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tint {
  background: linear-gradient(180deg, var(--bg) 0%, var(--accent) 50%, var(--bg) 100%);
}
.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- عنوان بخش‌ها ---------- */
.sec-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.sec-head--start { margin-inline: 0; text-align: right; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em;
  color: var(--primary); text-transform: uppercase; margin-bottom: 16px;
}
.eyebrow::before, .eyebrow::after {
  content: ''; width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary));
}
.sec-head--start .eyebrow::after { display: none; }
.sec-title {
  font-size: clamp(28px, 4.2vw, 44px); font-weight: 800;
  color: var(--ink); margin-bottom: 18px; line-height: 1.45;
}
.sec-title em { font-style: normal; color: var(--primary); }
.sec-sub { color: var(--ink-2); font-size: 17px; line-height: 2; }

/* ---------- دکمه‌ها ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 34px; border-radius: 100px; font-weight: 700; font-size: 15.5px;
  cursor: pointer; transition: all .35s var(--ease); border: 1.5px solid transparent;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--primary) 60%, transparent);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -10px color-mix(in srgb, var(--primary) 70%, transparent);
}
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-3px); }
.btn--light { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(10px); }
.btn--light:hover { background: #fff; color: var(--ink); transform: translateY(-3px); }
.btn--sm { padding: 11px 24px; font-size: 14px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }

.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary); font-weight: 700; font-size: 15px;
}
.link-more svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.link-more:hover svg { transform: translateX(-5px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.topbar {
  background: var(--ink); color: #e8ded2; font-size: 13.5px;
  padding: 9px 0; position: relative; z-index: 60;
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar__list { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; opacity: .88; }
.topbar__item svg { width: 15px; height: 15px; color: var(--primary); flex: none; }
.topbar__item:hover { opacity: 1; color: #fff; }
.topbar__socials { display: flex; gap: 12px; }
.topbar__socials a { opacity: .8; transition: .25s; }
.topbar__socials a:hover { opacity: 1; color: var(--primary); transform: translateY(-2px); }
.topbar__socials svg { width: 17px; height: 17px; }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 250, .92);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .35s var(--ease), background .35s;
}
.header.is-stuck { box-shadow: 0 6px 30px rgba(88, 62, 34, .09); }
.header__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 22px; height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand__mark {
  width: 50px; height: 50px; border-radius: 16px; flex: none;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid; place-items: center; color: #fff;
  font-weight: 800; font-size: 24px;
  box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--primary) 70%, transparent);
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.brand__text { display: flex; flex-direction: column; line-height: 1.35; }
.brand__name { font-weight: 800; font-size: 18.5px; color: var(--ink); }
.brand__tag { font-size: 11.5px; color: var(--ink-3); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 10px 15px; font-size: 15.5px; font-weight: 500;
  color: var(--ink-2); border-radius: 100px; position: relative;
  transition: color .25s, background .25s;
}
.nav__link::after {
  content: ''; position: absolute; bottom: 4px; right: 50%; transform: translateX(50%);
  width: 0; height: 2px; border-radius: 2px; background: var(--primary);
  transition: width .3s var(--ease);
}
.nav__link:hover { color: var(--primary); }
.nav__link:hover::after, .nav__link.is-active::after { width: 22px; }
.nav__link.is-active { color: var(--primary); font-weight: 700; }

.header__cta { display: flex; align-items: center; gap: 12px; flex: none; }
.burger {
  display: none; width: 46px; height: 46px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--white);
  place-items: center; flex-direction: column; gap: 5px;
}
.burger span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: .3s var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* منوی موبایل */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); z-index: 200;
  background: var(--white); transform: translateX(105%);
  transition: transform .45s var(--ease); box-shadow: -20px 0 60px rgba(0, 0, 0, .18);
  display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.mobile-nav__close {
  width: 40px; height: 40px; border-radius: 12px; background: var(--bg-soft);
  display: grid; place-items: center; font-size: 22px; color: var(--ink-2);
}
.mobile-nav__list { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav__list a {
  padding: 14px 16px; border-radius: 14px; font-weight: 500; color: var(--ink-2);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .25s, color .25s;
}
.mobile-nav__list a:hover, .mobile-nav__list a.is-active {
  background: var(--accent); color: var(--primary); font-weight: 700;
}
.mobile-nav__foot { margin-top: auto; padding: 20px 22px; border-top: 1px solid var(--line); }
.mobile-nav__contact { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; line-height: 2.2; }
.mobile-nav__contact strong { color: var(--ink); display: block; }
.overlay {
  position: fixed; inset: 0; background: rgba(36, 29, 24, .55); z-index: 150;
  opacity: 0; visibility: hidden; transition: .4s; backdrop-filter: blur(3px);
}
.overlay.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: min(88vh, 780px);
  display: flex; align-items: center; overflow: hidden;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media video {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 22s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(285deg, rgba(36, 29, 24, .25) 0%, rgba(36, 29, 24, var(--ov, .55)) 62%, rgba(36, 29, 24, .88) 100%),
    radial-gradient(90% 70% at 80% 40%, transparent 30%, rgba(36, 29, 24, .5) 100%);
}
.hero__in { position: relative; z-index: 2; padding: 110px 0; width: 100%; }
.hero__content { max-width: 660px; color: #fff; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 20px;
  border-radius: 100px; background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(10px);
  font-size: 14px; font-weight: 600; margin-bottom: 26px;
}
.hero__badge i { width: 7px; height: 7px; border-radius: 50%; background: #6fe08a; box-shadow: 0 0 12px #6fe08a; }
.hero__title {
  font-size: clamp(34px, 6vw, 62px); font-weight: 800; line-height: 1.35;
  margin-bottom: 22px; text-shadow: 0 3px 24px rgba(0, 0, 0, .3);
}
.hero__title span {
  background: linear-gradient(120deg, #f5d68a, #fff5e0, #e0b45c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__text {
  font-size: clamp(15.5px, 2vw, 18.5px); line-height: 2.15;
  color: rgba(255, 255, 255, .9); margin-bottom: 38px; max-width: 560px;
}
.hero__actions { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__stats {
  display: flex; gap: 44px; flex-wrap: wrap;
  padding-top: 34px; border-top: 1px solid rgba(255, 255, 255, .22);
}
.hero__stat b {
  display: block; font-size: clamp(24px, 3.4vw, 34px); font-weight: 800;
  color: #f5d68a; line-height: 1.3;
}
.hero__stat span { font-size: 13.5px; color: rgba(255, 255, 255, .78); }
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 3; color: rgba(255, 255, 255, .65); font-size: 12px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: bob 2.4s ease-in-out infinite;
}
.hero__scroll i {
  width: 22px; height: 36px; border: 1.5px solid rgba(255, 255, 255, .5);
  border-radius: 12px; position: relative;
}
.hero__scroll i::after {
  content: ''; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 7px; border-radius: 2px; background: rgba(255, 255, 255, .8);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0%, 100% { top: 7px; opacity: 1; } 60% { top: 20px; opacity: .2; } }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }

/* ==========================================================================
   اسلایدر
   ========================================================================== */
.slider { position: relative; }
.slider__viewport {
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding: 8px 0 34px; margin-inline: -10px;
}
.slider__viewport::-webkit-scrollbar { display: none; }
.slider__track { display: flex; gap: 26px; padding-inline: 10px; }
.slider__track > * {
  flex: 0 0 calc((100% - 52px) / 3); scroll-snap-align: start; min-width: 0;
}
.slider--2 .slider__track > * { flex-basis: calc((100% - 26px) / 2); }
.slider--4 .slider__track > * { flex-basis: calc((100% - 78px) / 4); }

.slider__nav { display: flex; gap: 10px; }
.slider__btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--white); display: grid; place-items: center; color: var(--ink-2);
  transition: all .3s var(--ease); box-shadow: var(--shadow-sm);
}
.slider__btn svg { width: 19px; height: 19px; }
.slider__btn:hover:not(:disabled) {
  background: var(--primary); border-color: var(--primary); color: #fff;
  transform: scale(1.08);
}
.slider__btn:disabled { opacity: .32; cursor: not-allowed; }
.slider__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 46px; flex-wrap: wrap;
}
.slider__dots { display: flex; gap: 7px; justify-content: center; margin-top: 6px; }
.slider__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--line);
  transition: .3s var(--ease);
}
.slider__dot.is-active { width: 26px; border-radius: 4px; background: var(--primary); }

/* ==========================================================================
   کارت‌ها
   ========================================================================== */
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--accent); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__badge {
  position: absolute; top: 15px; right: 15px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 7px 15px; border-radius: 100px; font-size: 12.5px; font-weight: 700;
  background: rgba(255, 255, 255, .94); color: var(--primary);
  backdrop-filter: blur(8px); box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
}
.card__badge svg { width: 15px; height: 15px; }

/* نوار اطلاعات خدمت داخل کارت (جایگزین بج مدت‌زمان روی تصویر) */
.svc-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 14px; font-size: 13px; color: var(--ink-3);
}
.svc-meta__item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.svc-meta__item svg { width: 15px; height: 15px; color: var(--primary); }
.svc-meta__item b { color: var(--ink-2); font-weight: 600; }
.card__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 19px; font-weight: 700; margin-bottom: 11px; line-height: 1.6; }
.card__title a:hover { color: var(--primary); }
.card__text {
  color: var(--ink-2); font-size: 14.5px; line-height: 2; margin-bottom: 20px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card__meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-3); margin-bottom: 16px;
}
.card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.card__meta svg { width: 15px; height: 15px; color: var(--primary); }
.card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 18px; border-top: 1px solid var(--line); margin-top: auto; flex-wrap: wrap;
}
.card__price { font-weight: 800; color: var(--primary); font-size: 16.5px; }

/* کارت متخصص */
.staff-card { text-align: center; }
.staff-card .card__media { aspect-ratio: 4 / 5; }
.staff-card__overlay {
  position: absolute; inset: auto 0 0 0; padding: 50px 18px 18px;
  background: linear-gradient(transparent, rgba(36, 29, 24, .86));
  display: flex; gap: 9px; justify-content: center;
  opacity: 0; transform: translateY(14px); transition: .4s var(--ease);
}
.staff-card:hover .staff-card__overlay { opacity: 1; transform: translateY(0); }
.staff-card__overlay a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .35); display: grid; place-items: center;
  color: #fff; backdrop-filter: blur(8px); transition: .25s;
}
.staff-card__overlay a:hover { background: #fff; color: var(--primary); }
.staff-card__overlay svg { width: 18px; height: 18px; }
.staff-card__role { color: var(--primary); font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.staff-card__bio {
  font-size: 13.5px; color: var(--ink-2); line-height: 1.95;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.staff-card__tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 14px; }
.tag-mini {
  font-size: 11.5px; padding: 4px 11px; border-radius: 100px;
  background: var(--accent); color: var(--secondary); font-weight: 600;
}

/* نمونه‌کار */
.work {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3 / 4; display: block; box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.work:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work:hover img { transform: scale(1.09); }
.work__info {
  position: absolute; inset: auto 0 0 0; padding: 70px 22px 24px; color: #fff;
  background: linear-gradient(transparent, rgba(36, 29, 24, .58) 40%, rgba(36, 29, 24, .93));
}
.work__cat {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .07em;
  color: #f5d68a; margin-bottom: 7px;
}
.work__title { font-size: 17.5px; font-weight: 700; line-height: 1.6; }
.work__desc {
  font-size: 13px; color: rgba(255, 255, 255, .8); margin-top: 8px;
  max-height: 0; overflow: hidden; transition: max-height .5s var(--ease), margin .4s;
}
.work:hover .work__desc { max-height: 90px; }

/* فیلترها */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 48px; }
.filter {
  padding: 10px 24px; border-radius: 100px; border: 1.5px solid var(--line);
  background: var(--white); font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  transition: all .3s var(--ease);
}
.filter:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.filter.is-active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent; color: #fff;
  box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--primary) 60%, transparent);
}

/* ==========================================================================
   وبلاگ
   ========================================================================== */
.post-card .card__media { aspect-ratio: 16 / 10; }
.post-card__date {
  position: absolute; bottom: 14px; right: 14px; z-index: 2;
  background: rgba(255, 255, 255, .95); border-radius: 14px; padding: 8px 14px;
  text-align: center; line-height: 1.35; box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
}
.post-card__date b { display: block; font-size: 19px; font-weight: 800; color: var(--primary); }
.post-card__date span { font-size: 11.5px; color: var(--ink-3); }

.article { max-width: 820px; margin-inline: auto; }
.article__cover {
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 42px;
  box-shadow: var(--shadow); aspect-ratio: 16 / 9;
}
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__meta {
  display: flex; flex-wrap: wrap; gap: 22px; align-items: center;
  padding: 18px 0; margin-bottom: 34px;
  border-block: 1px solid var(--line); font-size: 14px; color: var(--ink-3);
}
.article__meta span { display: inline-flex; align-items: center; gap: 7px; }
.article__meta svg { width: 16px; height: 16px; color: var(--primary); }
.prose { font-size: 16.5px; line-height: 2.3; color: var(--ink-2); }
.prose > * + * { margin-top: 22px; }
.prose h2 {
  font-size: 25px; color: var(--ink); margin-top: 46px; margin-bottom: 18px;
  padding-right: 18px; border-right: 4px solid var(--primary); line-height: 1.6;
}
.prose h3 { font-size: 20px; color: var(--ink); margin-top: 34px; }
.prose p { text-align: justify; }
.prose ul, .prose ol { padding-right: 8px; }
.prose li {
  position: relative; padding-right: 26px; margin-bottom: 13px;
}
.prose ul li::before {
  content: ''; position: absolute; right: 4px; top: 15px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--primary);
}
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before {
  content: counter(n); position: absolute; right: 0; top: 4px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent);
  color: var(--primary); font-size: 12.5px; font-weight: 700;
  display: grid; place-items: center;
}
.prose blockquote {
  background: var(--accent); border-right: 4px solid var(--primary);
  padding: 24px 26px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--secondary); font-weight: 500; font-size: 16px;
}
.prose img { border-radius: var(--radius); margin-block: 30px; box-shadow: var(--shadow-sm); }
.prose a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.tags { display: flex; flex-wrap: wrap; gap: 9px; }
.tag {
  padding: 7px 17px; border-radius: 100px; background: var(--bg-soft);
  border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2);
  font-weight: 500; transition: .25s;
}
.tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ==========================================================================
   فرم‌ها
   ========================================================================== */
.field { margin-bottom: 22px; }
.label {
  display: block; font-size: 14.5px; font-weight: 700; margin-bottom: 9px; color: var(--ink);
}
.label span { color: #d14; }
.input, .textarea, .select {
  width: 100%; padding: 14px 18px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--white);
  font-size: 15.5px; transition: border-color .25s, box-shadow .25s; font-family: inherit;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 12%, transparent);
}
.textarea { resize: vertical; min-height: 130px; line-height: 2; }
.select { cursor: pointer; appearance: none; background-image: none; padding-left: 44px; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ''; position: absolute; left: 18px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.hint { font-size: 13px; color: var(--ink-3); margin-top: 7px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.alert {
  padding: 15px 20px; border-radius: 14px; font-size: 14.5px; font-weight: 500;
  margin-bottom: 22px; display: flex; align-items: flex-start; gap: 11px; line-height: 1.9;
}
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.alert--ok { background: #e9f7ee; color: #1c6b3a; border: 1px solid #bfe6cd; }
.alert--err { background: #fdecec; color: #a02020; border: 1px solid #f5c6c6; }
.alert--info { background: var(--accent); color: var(--secondary); border: 1px solid var(--line); }
.alert--warn { background: #fff6e5; color: #8a5a00; border: 1px solid #f5deb0; }

/* ==========================================================================
   رزرو نوبت
   ========================================================================== */
.booking { max-width: 1000px; margin-inline: auto; }
.steps {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 48px; position: relative; gap: 4px;
}
.steps::before {
  content: ''; position: absolute; top: 23px; right: 6%; left: 6%; height: 2px;
  background: var(--line); z-index: 0;
}
.steps__line {
  position: absolute; top: 23px; right: 6%; height: 2px; z-index: 1;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  transition: width .55s var(--ease); width: 0;
}
.step {
  position: relative; z-index: 2; display: flex; flex-direction: column;
  align-items: center; gap: 9px; flex: 1; text-align: center;
}
.step__num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--white);
  border: 2px solid var(--line); display: grid; place-items: center;
  font-weight: 800; font-size: 16px; color: var(--ink-3);
  transition: all .45s var(--ease);
}
.step__label { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.step.is-active .step__num {
  border-color: var(--primary); color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary) 14%, transparent);
  transform: scale(1.08);
}
.step.is-active .step__label { color: var(--primary); font-weight: 700; }
.step.is-done .step__num { background: var(--primary); border-color: var(--primary); color: #fff; }
.step.is-done .step__num::after { content: '✓'; font-size: 19px; }
.step.is-done .step__num i { display: none; }

.panel {
  background: var(--white); border-radius: var(--radius-lg); padding: 40px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.pane { display: none; animation: fadeUp .5s var(--ease); }
.pane.is-active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.pane__title { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.pane__sub { color: var(--ink-3); font-size: 14.5px; margin-bottom: 30px; }

.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pick {
  display: flex; gap: 15px; align-items: center; padding: 15px;
  border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
  cursor: pointer; text-align: right; transition: all .3s var(--ease); width: 100%;
}
.pick:hover { border-color: color-mix(in srgb, var(--primary) 45%, transparent); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.pick.is-selected {
  border-color: var(--primary); background: color-mix(in srgb, var(--accent) 60%, white);
  box-shadow: 0 8px 26px -12px color-mix(in srgb, var(--primary) 60%, transparent);
}
.pick__img {
  width: 66px; height: 66px; border-radius: 14px; object-fit: cover; flex: none;
  background: var(--accent);
}
.pick__body { flex: 1; min-width: 0; }
.pick__name { font-weight: 700; font-size: 15.5px; margin-bottom: 4px; }
.pick__meta { font-size: 12.5px; color: var(--ink-3); display: flex; gap: 12px; flex-wrap: wrap; }
.pick__meta b { color: var(--primary); font-weight: 700; }
.pick__check {
  width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line);
  flex: none; display: grid; place-items: center; color: #fff; font-size: 13px;
  transition: .3s var(--ease);
}
.pick.is-selected .pick__check { background: var(--primary); border-color: var(--primary); }
.pick.is-selected .pick__check::after { content: '✓'; }

/* تقویم شمسی */
.cal { max-width: 480px; margin-inline: auto; }
.cal__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; gap: 12px;
}
.cal__title { font-weight: 800; font-size: 18.5px; }
.cal__nav { display: flex; gap: 8px; }
.cal__btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--white); display: grid; place-items: center; transition: .25s;
}
.cal__btn:hover:not(:disabled) { background: var(--primary); color: #fff; border-color: var(--primary); }
.cal__btn:disabled { opacity: .35; cursor: not-allowed; }
.cal__btn svg { width: 17px; height: 17px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.cal__wd {
  text-align: center; font-size: 12.5px; font-weight: 700; color: var(--ink-3);
  padding-bottom: 10px;
}
.cal__day {
  aspect-ratio: 1; border-radius: 13px; border: 1.5px solid var(--line);
  background: var(--white); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  font-size: 15px; font-weight: 600; transition: all .25s var(--ease); position: relative;
}
.cal__day i {
  font-style: normal; font-size: 9.5px; font-weight: 600; color: #3f9e5e; opacity: .95;
}
.cal__day--open:hover {
  border-color: var(--primary); color: var(--primary);
  transform: translateY(-3px) scale(1.04); box-shadow: var(--shadow-sm);
}
.cal__day--closed, .cal__day--past, .cal__day--far {
  opacity: .38; cursor: not-allowed; background: var(--bg-soft);
  text-decoration: line-through; text-decoration-color: var(--ink-3);
}
.cal__day--empty { border: 0; background: transparent; }
.cal__day.is-selected {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent; color: #fff; transform: scale(1.06);
  box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--primary) 70%, transparent);
}
.cal__day.is-selected i { color: rgba(255, 255, 255, .9); }
.cal__day.is-today::after {
  content: ''; position: absolute; bottom: 5px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--primary);
}
.cal__day.is-selected.is-today::after { background: #fff; }
.cal__legend {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  margin-top: 22px; font-size: 12.5px; color: var(--ink-3);
}
.cal__legend span { display: inline-flex; align-items: center; gap: 7px; }
.cal__legend i { width: 13px; height: 13px; border-radius: 5px; display: inline-block; }

/* اسلات‌های ساعت */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 11px; }
.slot {
  padding: 14px 8px; border-radius: 13px; border: 1.5px solid var(--line);
  background: var(--white); font-weight: 700; font-size: 15.5px;
  transition: all .25s var(--ease); text-align: center; line-height: 1.5;
}
.slot small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-3); }
.slot:hover:not(:disabled) {
  border-color: var(--primary); color: var(--primary);
  transform: translateY(-3px); box-shadow: var(--shadow-sm);
}
.slot:disabled {
  opacity: .4; cursor: not-allowed; background: var(--bg-soft);
  text-decoration: line-through;
}
.slot.is-selected {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent; color: #fff;
  box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--primary) 70%, transparent);
}
.slot.is-selected small { color: rgba(255, 255, 255, .85); }

.summary {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; margin-bottom: 26px;
}
.summary__row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px;
}
.summary__row:last-child { border: 0; padding-bottom: 0; }
.summary__row span { color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px; }
.summary__row svg { width: 16px; height: 16px; color: var(--primary); }
.summary__row b { font-weight: 700; text-align: left; }
.summary__total { color: var(--primary) !important; font-size: 17px; }

.pane__actions {
  display: flex; gap: 13px; justify-content: space-between; margin-top: 32px;
  padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap;
}
.loading { text-align: center; padding: 44px 20px; color: var(--ink-3); }
.spinner {
  width: 34px; height: 34px; margin: 0 auto 14px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--primary);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   بخش‌های دیگر
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-img::before {
  content: ''; position: absolute; inset: 26px -26px -26px 26px; z-index: -1;
  border: 2px solid var(--primary); border-radius: var(--radius-lg); opacity: .3;
}
.about-badge {
  position: absolute; bottom: -26px; left: -26px; background: var(--white);
  border-radius: var(--radius); padding: 22px 28px; box-shadow: var(--shadow-lg);
  text-align: center; border: 1px solid var(--line);
}
.about-badge b { display: block; font-size: 34px; font-weight: 800; color: var(--primary); line-height: 1.3; }
.about-badge span { font-size: 13px; color: var(--ink-3); }
.feature-list { display: grid; gap: 18px; margin-top: 30px; }
.feature {
  display: flex; gap: 15px; align-items: flex-start;
}
.feature__icon {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  background: var(--accent); display: grid; place-items: center; color: var(--primary);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature b { display: block; font-size: 16px; margin-bottom: 3px; }
.feature p { font-size: 14px; color: var(--ink-2); line-height: 1.95; }

.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-box {
  text-align: center; padding: 34px 18px; background: var(--white);
  border-radius: var(--radius); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.stat-box:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat-box b {
  display: block; font-size: 38px; font-weight: 800; color: var(--primary); line-height: 1.3;
}
.stat-box span { font-size: 14px; color: var(--ink-2); }

.tst {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.tst:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tst__stars { color: #e8b923; font-size: 16px; margin-bottom: 16px; letter-spacing: 3px; }
.tst__text { color: var(--ink-2); line-height: 2.1; font-size: 15px; flex: 1; }
.tst__quote { font-size: 46px; color: var(--accent); line-height: 1; font-weight: 800; margin-bottom: -12px; }
.tst__author {
  display: flex; align-items: center; gap: 12px; margin-top: 22px;
  padding-top: 18px; border-top: 1px solid var(--line);
}
.tst__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 17px;
}
.tst__name { font-weight: 700; font-size: 14.5px; }
.tst__role { font-size: 12.5px; color: var(--ink-3); }

.cta-band {
  background: linear-gradient(120deg, var(--ink) 0%, var(--secondary) 100%);
  border-radius: var(--radius-lg); padding: 70px 50px; color: #fff;
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: ''; position: absolute; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 40%, transparent), transparent 70%);
}
.cta-band::before { width: 340px; height: 340px; top: -140px; right: -80px; }
.cta-band::after { width: 280px; height: 280px; bottom: -140px; left: -60px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(25px, 4vw, 38px); margin-bottom: 16px; }
.cta-band p { color: rgba(255, 255, 255, .84); max-width: 560px; margin: 0 auto 32px; line-height: 2.1; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* سربرگ صفحات داخلی */
.page-head {
  background: linear-gradient(120deg, var(--ink), var(--secondary));
  color: #fff; padding: 72px 0; position: relative; overflow: hidden;
}
.page-head::after {
  content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  top: -220px; left: -100px;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 35%, transparent), transparent 70%);
}
.page-head__in { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(27px, 4.5vw, 40px); margin-bottom: 12px; }
.page-head p { color: rgba(255, 255, 255, .82); max-width: 620px; line-height: 2.05; }
.crumbs {
  display: flex; gap: 9px; align-items: center; flex-wrap: wrap;
  font-size: 13.5px; color: rgba(255, 255, 255, .68); margin-bottom: 16px;
}
.crumbs a:hover { color: #fff; }
.crumbs i { font-style: normal; opacity: .5; }

/* اطلاعات تماس */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 44px; align-items: start; }
.info-card {
  display: flex; gap: 16px; padding: 22px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card__icon {
  width: 48px; height: 48px; border-radius: 14px; flex: none;
  background: var(--accent); display: grid; place-items: center; color: var(--primary);
}
.info-card__icon svg { width: 22px; height: 22px; }
.info-card b { display: block; font-size: 15px; margin-bottom: 4px; }
.info-card p, .info-card a { font-size: 14.5px; color: var(--ink-2); line-height: 1.95; }
.info-card a:hover { color: var(--primary); }

/* جدول برنامه کاری */
.sched-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.sched-table th, .sched-table td {
  padding: 13px 16px; text-align: right; border-bottom: 1px solid var(--line);
}
.sched-table th { font-weight: 700; color: var(--ink); background: var(--bg-soft); }
.sched-table tr:last-child td { border-bottom: 0; }
.sched-table .off { color: var(--ink-3); }
.chip-time {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  background: var(--accent); color: var(--secondary); font-size: 13px;
  font-weight: 600; margin: 2px 3px 2px 0;
}

/* صفحه‌بندی */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 54px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 44px; height: 44px; padding-inline: 14px; border-radius: 13px;
  border: 1.5px solid var(--line); background: var(--white);
  display: grid; place-items: center; font-weight: 600; font-size: 14.5px;
  transition: .25s;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .is-active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent; color: #fff;
}
.pagination .is-disabled { opacity: .4; cursor: not-allowed; }

/* حالت خالی */
.empty { text-align: center; padding: 70px 24px; color: var(--ink-3); }
.empty__icon {
  width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 20px;
  background: var(--accent); display: grid; place-items: center; color: var(--primary);
}
.empty__icon svg { width: 36px; height: 36px; }
.empty b { display: block; font-size: 18px; color: var(--ink); margin-bottom: 8px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--ink); color: #cfc3b6; padding-top: 76px; margin-top: 0; }
.footer__grid {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 54px;
}
.footer__brand { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__tag { color: #a1928a; }
.footer__about { font-size: 14.5px; line-height: 2.1; color: #b0a196; margin-bottom: 24px; }
.footer__title {
  color: #fff; font-size: 16.5px; font-weight: 700; margin-bottom: 22px;
  position: relative; padding-bottom: 13px;
}
.footer__title::after {
  content: ''; position: absolute; bottom: 0; right: 0; width: 34px; height: 2px;
  background: var(--primary); border-radius: 2px;
}
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a {
  font-size: 14.5px; color: #b0a196; display: inline-flex; align-items: center; gap: 9px;
  transition: .25s;
}
.footer__links a::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary); opacity: .55; transition: .25s;
}
.footer__links a:hover { color: #fff; transform: translateX(-5px); }
.footer__links a:hover::before { opacity: 1; }
.footer__contact { display: flex; flex-direction: column; gap: 16px; }
.footer__contact li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.95; color: #b0a196; }
.footer__contact svg { width: 18px; height: 18px; color: var(--primary); flex: none; margin-top: 5px; }
.footer__socials { display: flex; gap: 11px; margin-top: 24px; }
.footer__socials a {
  width: 42px; height: 42px; border-radius: 13px; background: rgba(255, 255, 255, .07);
  display: grid; place-items: center; color: #cfc3b6; transition: .3s var(--ease);
}
.footer__socials a:hover {
  background: var(--primary); color: #fff; transform: translateY(-4px);
}
.footer__socials svg { width: 19px; height: 19px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #96877d;
}
.footer__bottom a:hover { color: var(--primary); }

/* دکمه شناور موبایل */
.fab {
  position: fixed; bottom: 20px; right: 20px; left: 20px; z-index: 90;
  display: none; gap: 10px;
}
.fab .btn { flex: 1; box-shadow: var(--shadow-lg); }

/* اسکرول به بالا */
.to-top {
  position: fixed; bottom: 26px; left: 26px; z-index: 80;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line); color: var(--primary);
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: .35s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary); color: #fff; }
.to-top svg { width: 20px; height: 20px; }

/* انیمیشن ورود */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .09s; }
.reveal[data-d="2"] { transition-delay: .18s; }
.reveal[data-d="3"] { transition-delay: .27s; }
.reveal[data-d="4"] { transition-delay: .36s; }
.reveal[data-d="5"] { transition-delay: .45s; }

/* ==========================================================================
   واکنش‌گرایی
   ========================================================================== */

/* ---------- تکمیلی کیانابیوتی ---------- */
main { display: block; }
.text-center { text-align: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1100px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-3 { grid-template-columns: 1fr; } }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.fab .btn--ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.fab .btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.sec-head .link-more { margin-top: 14px; }
@media (max-width: 680px) {
  .slider__head .sec-head { margin-bottom: 16px; }
}

@media (max-width: 1100px) {
  .slider__track > * { flex-basis: calc((100% - 26px) / 2); }
  .slider--4 .slider__track > * { flex-basis: calc((100% - 26px) / 2); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: grid; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-img::before { display: none; }
  .about-badge { left: 16px; bottom: -18px; padding: 16px 22px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 76px 0; }
  .topbar__list .topbar__item:nth-child(n+3) { display: none; }
}

@media (max-width: 680px) {
  :root { --header-h: 72px; }
  body { font-size: 15.5px; }
  .container { padding-inline: 18px; }
  .section { padding: 58px 0; }
  .sec-head { margin-bottom: 38px; }
  .slider__track { gap: 16px; }
  .slider__track > *, .slider--2 .slider__track > *, .slider--4 .slider__track > * {
    flex-basis: 84%;
  }
  .hero { min-height: auto; }
  .hero__in { padding: 68px 0 84px; }
  .hero__stats { gap: 26px; justify-content: space-between; }
  .hero__actions .btn { flex: 1; min-width: 145px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .panel { padding: 24px 18px; border-radius: var(--radius); }
  .pick-grid { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(3, 1fr); }
  .cal__grid { gap: 5px; }
  .cal__day { border-radius: 10px; font-size: 14px; }
  .cal__day i { font-size: 8.5px; }
  .steps::before, .steps__line { right: 10%; left: 10%; }
  .step__num { width: 38px; height: 38px; font-size: 14px; }
  .step__label { font-size: 10.5px; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer { padding-top: 54px; padding-bottom: 84px; }
  .fab { display: flex; }
  .to-top { bottom: 88px; left: 18px; width: 42px; height: 42px; }
  .cta-band { padding: 48px 24px; }
  .page-head { padding: 48px 0; }
  .topbar { font-size: 12.5px; }
  .topbar__list .topbar__item:nth-child(n+2) { display: none; }
  .article__meta { gap: 14px; font-size: 13px; }
  .prose { font-size: 15.5px; line-height: 2.15; }
  .prose h2 { font-size: 21px; }
  .btn { padding: 13px 26px; font-size: 14.5px; }
  .pane__actions { flex-direction: column-reverse; }
  .pane__actions .btn { width: 100%; }
}

@media (max-width: 380px) {
  .slots { grid-template-columns: repeat(2, 1fr); }
  .hero__stat b { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .topbar, .footer, .fab, .to-top, .slider__nav { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   پنل مدیریت
   ========================================================================== */
.login-wrap { max-width: 430px; margin: 0 auto; }
.admin-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 40px; }
@media (max-width: 1000px) { .admin-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .admin-stats { grid-template-columns: 1fr; } }
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 980px; }
.admin-table th, .admin-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
.admin-table th { background: var(--bg-soft); font-weight: 700; white-space: nowrap; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: var(--bg-soft); }
.st-badge { display: inline-block; padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.st-badge--pending { background: #fff6e5; color: #8a5a00; }
.st-badge--confirmed { background: #e9f7ee; color: #1c6b3a; }
.st-badge--cancelled { background: #fdecec; color: #a02020; }
.btn--mini { padding: 5px 13px; font-size: 12.5px; border-radius: 100px; font-weight: 700; border: 1.5px solid transparent; transition: .25s; }
.btn--ok { background: #e9f7ee; color: #1c6b3a; }
.btn--ok:hover { background: #1c6b3a; color: #fff; }
.btn--danger { background: #fdecec; color: #a02020; }
.btn--danger:hover { background: #a02020; color: #fff; }
.btn--ghost2 { background: var(--bg-soft); color: var(--ink-2); border-color: var(--line); }
.btn--ghost2:hover { background: var(--ink); color: #fff; }
.msg-box { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; background: var(--white); margin-bottom: 14px; }
