/* ===================================================================
   لیانا — کلینیک تخصصی زیبایی
   سیستم طراحی مشترک (نوار بالا، هیرو، بخش‌ها، فوتر) — همه‌ی صفحات سایت
   =================================================================== */

:root {
  --cream: oklch(97% 0.012 75);
  --cream-2: oklch(93.5% 0.018 72);
  --sand: oklch(89% 0.028 70);
  --ink: oklch(23% 0.02 45);
  --ink-2: oklch(46% 0.018 45);
  --ink-3: oklch(60% 0.014 45);
  --line: oklch(23% 0.02 45 / 0.12);
  --line-2: oklch(23% 0.02 45 / 0.2);
  --accent: oklch(40% 0.06 182.5);
  --accent-strong: oklch(33% 0.062 182.5);
  --accent-light: oklch(71.4% 0.052 185.5);
  --accent-ink: oklch(98% 0.008 75);
  --dark: oklch(19% 0.03 190);
  --dark-2: oklch(26% 0.032 188);
  --dark-ink: oklch(95% 0.012 75);
  --dark-ink-2: oklch(95% 0.012 75 / 0.62);
  --dark-line: oklch(100% 0 0 / 0.12);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-1: 0 10px 30px oklch(23% 0.02 45 / 0.08);
  --shadow-2: 0 18px 44px oklch(23% 0.02 45 / 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Vazirmatn', sans-serif;
  overflow-x: hidden;
  min-height: 100dvh;
  background: var(--cream);
  background-image: repeating-linear-gradient(135deg, oklch(23% 0.02 45 / 0.05) 0 1px, transparent 1px 30px);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }
img { display: block; max-width: 100%; }
@media (prefers-reduced-motion: no-preference) { .tap { transition: transform 0.15s ease; } .tap:active { transform: scale(0.96); } }

body { opacity: 0; transition: opacity .5s ease; }
body.loaded { opacity: 1; }

/* ============ نوار بالا — پوسته‌ی شفاف؛ همه‌چیز داخل یک باکس شیشه‌ای ============ */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: transparent; }
.topbar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 12px; gap: 8px;
}
.brand {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  padding: 6px 10px; border-radius: 999px; background: oklch(97% 0.012 75 / 0.8); border: 1px solid var(--line);
}
.brand img { width: 24px; height: 24px; }
.brand span { font-size: 14px; font-weight: 800; color: var(--ink); letter-spacing: 0.01em; }

/* یک باکس شیشه‌ای واحد: از لینک‌های ناوبری تا تب‌های دسته‌بندی تا دکمه‌ی رزرو */
.nav-capsule {
  display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px;
  background: oklch(97% 0.012 75 / 0.7);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--line);
  flex: 1; min-width: 0; max-width: 260px; justify-content: center;
}
.nav-links { display: none; align-items: center; gap: 22px; padding: 0 10px; }
.nav-links a { font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: color .2s ease; }
.nav-links a:hover { color: var(--accent); }
.nav-sep { display: none; width: 1px; height: 18px; background: var(--line-2); flex-shrink: 0; }

/* روی موبایل جای این نوار محدوده و تعداد تب‌ها ثابت نیست؛ به‌جای کوچیک‌کردن/بریدنِ متنِ تب‌ها،
   خودِ نوار اسکرولِ افقی می‌گیره تا هر برچسب کامل و خونا بمونه. */
.nav-tabs {
  display: flex; align-items: center; justify-content: space-evenly; gap: 2px; flex: 1; min-width: 0;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.nav-tabs::-webkit-scrollbar { display: none; }
.nav-tabs button {
  flex: 0 0 auto; font-size: 10.5px; font-weight: 700; color: var(--ink-2);
  padding: 7px 10px; border-radius: 999px; white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
.nav-tabs button:hover { color: var(--ink); background: oklch(23% 0.02 45 / 0.06); }

.cta-pill {
  display: none;
  background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700;
  padding: 10px 16px; border-radius: 999px; white-space: nowrap; transition: background .2s ease;
}
.cta-pill:hover { background: var(--accent-strong); }
.menu-btn {
  display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px; color: var(--ink); flex-shrink: 0;
  background: oklch(97% 0.012 75 / 0.8); border: 1px solid var(--line);
}
.menu-btn:hover { background: var(--sand); }
.menu-btn svg { width: 19px; height: 19px; }

/* ============ دراور موبایل ============ */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 60; background: oklch(19% 0.03 190 / 0.45);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; bottom: 0; right: 0; z-index: 61; width: min(84vw, 340px);
  background: var(--cream); box-shadow: -18px 0 44px oklch(23% 0.02 45 / 0.22);
  transform: translateX(100%); transition: transform .32s cubic-bezier(.16,1,.3,1);
  display: flex; flex-direction: column; padding: 18px 20px calc(20px + env(safe-area-inset-bottom));
}
.drawer.open { transform: translateX(0); }
.drawer-top { display: flex; justify-content: flex-end; margin-bottom: 18px; }
.drawer-close { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--ink); }
.drawer-close:hover { background: var(--sand); }
.drawer-close svg { width: 17px; height: 17px; }
.drawer-links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.drawer-links a { font-size: 16px; font-weight: 700; color: var(--ink); padding: 13px 4px; border-bottom: 1px solid var(--line); }
.drawer-cta {
  text-align: center; background: var(--accent); color: var(--accent-ink); font-size: 13.5px; font-weight: 700;
  padding: 14px; border-radius: 999px; margin-bottom: 10px;
}
.drawer-insta { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); padding: 10px 4px; }
.drawer-insta svg { width: 17px; height: 17px; color: var(--accent); }

/* ============ هیرو — تمام‌عرض، ثابت، با نوار عکس‌های نتیجه ============ */
.hero { position: relative; width: 100%; min-height: 50vh; overflow: hidden; background: oklch(15% 0 0); }
.hero-media { position: absolute; inset: 0; background: oklch(15% 0 0); }

/* نوار عکس‌های روان — چند عکس نتیجه کنار هم، حرکت پیوسته و بدون توقف؛ کاشی‌ها ۱px هم‌پوشانی دارن تا هیچ‌وقت شکاف/درز دیده نشه */
.hero-marquee { position: absolute; inset: 0; overflow: hidden; background: oklch(15% 0 0); }
.hero-marquee-track {
  position: absolute; top: 0; bottom: 0; left: 0; display: flex; direction: ltr; width: max-content;
  animation: heroMarquee 34s linear infinite; will-change: transform;
}
@media (prefers-reduced-motion: reduce) { .hero-marquee-track { animation: none; } }
.hero-marquee-track .tile { position: relative; height: 100%; width: 46vw; min-width: 0; max-width: 46vw; flex-shrink: 0; flex-grow: 0; overflow: hidden; margin-left: -1px; background: oklch(28% 0.01 190); }
.hero-marquee-track .tile:first-child { margin-left: 0; }
.hero-marquee-track .tile:nth-child(even) { background: oklch(24% 0.01 190); }
.hero-marquee-track .tile img { display: block; width: calc(100% + 1px); height: 100%; object-fit: cover; object-position: 50% 22%; }
@keyframes heroMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hero-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(0deg, oklch(15% 0.03 195 / 0.86) 0%, oklch(15% 0.03 195 / 0.32) 46%, transparent 72%);
}
.hero-content {
  position: relative; z-index: 3; display: flex; flex-direction: column; gap: 10px; max-width: 1200px; margin: 0 auto;
  padding: 76px 18px 30px; transition: opacity .3s ease, transform .3s ease;
}
.hero-content.fading { opacity: 0; transform: translateY(6px); }
.hero-content .eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .03em; color: var(--accent-light); }
.hero-content h1 { font-size: 30px; font-weight: 800; line-height: 1.22; color: var(--dark-ink); letter-spacing: -0.01em; }
.hero-content .sub { font-size: 12px; line-height: 1.85; color: var(--dark-ink-2); max-width: 480px; }
.btn-cta {
  align-self: flex-start; margin-top: 4px; background: var(--cream); color: var(--ink); font-size: 12px; font-weight: 700;
  padding: 12px 20px; border-radius: 999px; transition: opacity .25s ease, transform .15s ease;
}
.btn-cta.muted { background: oklch(97% 0.012 75 / 0.14); color: oklch(97% 0.012 75 / 0.7); border: 1px solid oklch(100% 0 0 / 0.22); pointer-events: none; }
.btn-cta.ghost { background: transparent; color: var(--dark-ink); border: 1px solid oklch(100% 0 0 / 0.4); }

/* ============ بخش‌های عمومی ============ */
.section { padding: 56px 16px; }
.section.tint { background: var(--sand); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.eyebrow-label { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: var(--accent); margin-bottom: 10px; }
.section-title { font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1.32; letter-spacing: -0.01em; }
.section-sub { font-size: 12.5px; color: var(--ink-2); line-height: 1.8; margin-top: 8px; max-width: 560px; }

.reveal-onscroll { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal-onscroll.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal-onscroll { opacity: 1; transform: none; transition: none; } }

/* ============ پاپ‌آپ درباره‌ی لیانا ============ */
.modal-media-about { background: linear-gradient(135deg, var(--sand), var(--cream-2)); display: flex; align-items: center; justify-content: center; }
.about-mark { width: 84px; height: 84px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 16px; box-shadow: var(--shadow-1); }
.about-mark img { width: 100%; height: 100%; object-fit: contain; }
.about-modal-bio { font-size: 13px; line-height: 2; color: var(--ink-2); margin-top: 4px; }
.about-stats { display: flex; gap: 10px; margin-top: 6px; }
.about-stat { flex: 1; border-radius: var(--radius-md); padding: 12px 14px; background: var(--cream-2); border: 1px solid var(--line); }
.about-stat .k { font-size: 9.5px; color: var(--ink-3); font-weight: 600; }
.about-stat .v { font-size: 12px; font-weight: 700; color: var(--ink); margin-top: 4px; }
.about-stat .v.pending { color: var(--ink-3); font-weight: 600; font-size: 11px; }

/* ============ خدمات — چیدمان فهرستی، دسته‌بندی‌شده ============ */
.svc-grid { margin-top: 30px; display: flex; flex-direction: column; gap: 30px; }
.svc-group-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.svc-group-head .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.svc-group-head h4 { font-size: 11.5px; font-weight: 800; color: var(--ink-2); letter-spacing: .03em; }
.svc-group-rows { display: grid; grid-template-columns: 1fr; gap: 10px; }
.svc-card {
  display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--radius-lg); min-width: 0;
  background: linear-gradient(155deg, oklch(100% 0 0 / 0.55), oklch(100% 0 0 / 0.12) 55%, oklch(97% 0.012 75 / 0.32));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid oklch(100% 0 0 / 0.55);
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.7), 0 10px 26px oklch(23% 0.02 45 / 0.09);
  cursor: pointer; transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.svc-card:hover {
  border-color: oklch(100% 0 0 / 0.75);
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.8), var(--shadow-1);
}

/* ============ شیشه‌ی مه‌آلود روی عکس‌ها ============
   دیگه با CSS زنده (backdrop-filter/mask) ساخته نمی‌شه — چون رو Safari چندلایه بودنِ backdrop-filter
   ریسکِ همون باگِ کامپوزیتینگِ قدیمی رو داشت. الان خودِ عکس‌ها از قبل با افکتِ شیشه‌ی مه‌آلود
   (بلور + بافتِ شیارِ عمودی + پنجره‌ی واضحِ مستطیلی) پخته و ذخیره شدن — با ابزارِ
   tools/liana-reveal-tool.html. یعنی این‌جا فقط یه عکسِ ساده نمایش داده می‌شه، بدونِ هیچ فیلترِ زنده. */
.svc-media { position: relative; flex: 0 0 80px; width: 80px; height: 80px; border-radius: var(--radius-md); overflow: hidden; background: var(--cream-2); }
.svc-single-img { width: 100%; height: 100%; object-fit: cover; }
.svc-pending-media { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.svc-icon-badge { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: oklch(71.4% 0.052 185.5 / 0.16); color: var(--accent); }
.svc-icon-badge svg { width: 22px; height: 22px; }
.svc-icon-badge.lg { width: 64px; height: 64px; }
.svc-icon-badge.lg svg { width: 32px; height: 32px; }
.svc-pair-carousel { position: absolute; inset: 0; display: flex; direction: ltr; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.svc-pair-carousel::-webkit-scrollbar { display: none; }
.svc-pair-track { display: flex; direction: ltr; width: 100%; }
.svc-pair-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; }
.svc-pair-dots { position: absolute; z-index: 3; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.svc-pair-dots .dot { width: 6px; height: 6px; border-radius: 999px; background: oklch(100% 0 0 / 0.5); transition: background .2s ease, width .2s ease; }
.svc-pair-dots .dot.active { width: 16px; background: oklch(100% 0 0 / 0.95); }

/* ============ اسلایدرِ کشیدنیِ قبل/بعد — دستگیره رو می‌کشی، عکسِ «بعد» زیرِ عکسِ «قبل» آشکار می‌شه ============
   لایه‌ی زیرین (ba-after) همیشه کاملِ کادره؛ لایه‌ی روییِ (ba-before) با clip-path بریده می‌شه —
   نه با تغییرِ width، چون تغییرِ width خودِ background-size:cover رو هم عوض می‌کرد و عکس لِه می‌شد. */
.ba-slider { position: absolute; inset: 0; overflow: hidden; direction: ltr; }
.ba-slider .ba-after, .ba-slider .ba-before {
  position: absolute; inset: 0; background-size: cover; background-position: 50% 20%;
}
.ba-slider .ba-before { clip-path: inset(0 0 0 50%); }
.ba-slider .ba-tag {
  position: absolute; z-index: 2; top: 4px; font-size: 6.5px; font-weight: 700; color: var(--dark-ink); padding: 2px 5px; border-radius: 999px;
  background: oklch(15% 0.03 195 / 0.55); border: 1px solid oklch(100% 0 0 / 0.22); pointer-events: none;
}
.ba-slider .ba-tag.l { left: 4px; }
.ba-slider .ba-tag.r { right: 4px; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 32px; margin-inline-start: -16px; z-index: 3;
  display: flex; align-items: center; justify-content: center; cursor: ew-resize; touch-action: none;
}
.ba-handle::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%);
  background: oklch(100% 0 0 / 0.9); box-shadow: 0 0 0 1px oklch(15% 0.03 195 / 0.25);
}
.ba-handle .knob {
  position: relative; width: 26px; height: 26px; border-radius: 50%; background: oklch(100% 0 0 / 0.95);
  display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--ink-2);
  box-shadow: 0 2px 8px oklch(15% 0.03 195 / 0.3);
}
.svc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.svc-title-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.svc-chip { flex-shrink: 0; font-size: 8.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.svc-chip.soon { color: var(--ink-2); background: var(--cream-2); }
.svc-chip.ready { color: var(--accent-ink); background: var(--accent); }
.svc-info h3 { min-width: 0; font-size: 13.5px; font-weight: 800; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-info p { font-size: 11px; color: var(--ink-2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============ پاپ‌آپ عمومی (درباره‌ی ما) ============ */
.modal-backdrop { position: fixed; inset: 0; z-index: 70; background: oklch(19% 0.03 190 / 0.55); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  position: fixed; z-index: 71; left: 50%; bottom: 0; width: 100%; max-width: 480px; transform: translate(-50%, 100%);
  background: var(--cream); border-radius: 22px 22px 0 0; overflow: hidden; transition: transform .32s cubic-bezier(.16,1,.3,1);
  max-height: 86vh; display: flex; flex-direction: column; pointer-events: none;
}
.modal.open { transform: translate(-50%, 0); pointer-events: auto; }
.modal-media { position: relative; aspect-ratio: 16/10; background: var(--cream-2); flex-shrink: 0; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-media-pending { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(135deg, var(--cream-2) 0 10px, oklch(93.5% 0.018 72 / 0.5) 10px 20px); }
.modal-media-pending svg { width: 30px; height: 30px; color: var(--ink-3); }
.modal-media .ba-slider .ba-tag { font-size: 10px; padding: 5px 11px; top: 12px; }
.modal-media .ba-slider .ba-tag.l { left: 12px; top: 56px; }
.modal-media .ba-slider .ba-tag.r { right: 12px; }
.modal-media .ba-handle .knob { width: 34px; height: 34px; font-size: 15px; }
.svc-facts { margin-top: 8px; }
.svc-variants-label { font-size: 11px; color: var(--ink-2); margin-top: 12px; }
.svc-variants { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.svc-variant-chip {
  font-size: 11.5px; font-weight: 600; color: var(--ink-2); padding: 8px 14px; border-radius: 999px;
  background: var(--cream-2); border: 1px solid var(--line); transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.svc-variant-chip:hover { border-color: var(--accent); }
.svc-variant-chip.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.svc-reserve-cta { margin-top: 14px; }
.modal-close {
  position: absolute; z-index: 5; top: 12px; left: 12px; width: 32px; height: 32px; border-radius: 999px;
  background: oklch(19% 0.03 190 / 0.55); color: var(--dark-ink); display: flex; align-items: center; justify-content: center;
}
.modal-close svg { width: 15px; height: 15px; }
.modal-body { padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.modal-chip { align-self: flex-start; font-size: 9.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.modal-chip.soon { color: var(--ink-3); background: var(--cream-2); }
.modal-chip.ready { color: var(--accent-ink); background: var(--accent); }
.modal-body h3 { font-size: 18px; font-weight: 800; color: var(--ink); }
.modal-body p { font-size: 12.5px; line-height: 1.9; color: var(--ink-2); }

/* ============ مودالِ رزروِ نوبت ============ */
.book-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.book-modal-head h3 { font-size: 18px; font-weight: 800; color: var(--ink); }
.modal-close-plain {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 999px; color: var(--ink-2);
  background: var(--cream-2); display: flex; align-items: center; justify-content: center;
}
.modal-close-plain:hover { background: var(--sand); color: var(--ink); }
.modal-close-plain svg { width: 14px; height: 14px; }
.book-modal-note { font-size: 12.5px; line-height: 1.8; color: var(--ink-2); }
.book-form { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.book-form[hidden], .book-success[hidden] { display: none; }
.book-field { display: flex; flex-direction: column; gap: 6px; }
.book-field label { font-size: 11.5px; font-weight: 700; color: var(--ink-2); }
.book-field input, .book-field select, .book-field textarea {
  font-family: 'Vazirmatn', sans-serif; font-size: 13.5px; color: var(--ink);
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 13px; width: 100%; transition: border-color .15s ease, background .15s ease;
}
.book-field textarea { resize: vertical; min-height: 56px; line-height: 1.7; }
.book-field input:focus, .book-field select:focus, .book-field textarea:focus {
  outline: none; border-color: var(--accent); background: var(--cream);
}
.book-error { font-size: 12px; color: oklch(52% 0.19 27); background: oklch(52% 0.19 27 / 0.08); border-radius: var(--radius-sm); padding: 9px 12px; }
.book-submit {
  border: none; cursor: pointer; text-align: center; background: var(--accent); color: var(--accent-ink);
  font-family: 'Vazirmatn', sans-serif; font-size: 13.5px; font-weight: 700; padding: 14px; border-radius: 999px;
  transition: background .2s ease, opacity .2s ease;
}
.book-submit:hover { background: var(--accent-strong); }
.book-submit:disabled { opacity: 0.65; cursor: default; }
.book-alt { text-align: center; font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 4px; }
.book-alt:hover { color: var(--accent); }

/* ---------- انتخابِ زمانِ نوبت: تب‌های دقیق/فرقی‌نمی‌کنه + نوارِ روزها + گریدِ اسلات (فازِ ۲) ---------- */
.book-time-tabs { display: flex; gap: 6px; background: var(--cream-2); border-radius: 999px; padding: 4px; }
.book-time-tabs[hidden] { display: none; }
.book-time-tab {
  flex: 1; border: none; background: none; cursor: pointer; font-family: 'Vazirmatn', sans-serif;
  font-size: 12px; font-weight: 700; color: var(--ink-2); padding: 8px 10px; border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.book-time-tab.active { background: var(--accent); color: var(--accent-ink); }

.book-time-exact { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.book-time-exact[hidden], .book-time-flexible[hidden] { display: none; }
.book-day-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.book-day-chip {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 46px; padding: 8px 6px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--cream-2); cursor: pointer; font-family: 'Vazirmatn', sans-serif; color: var(--ink);
  transition: background .15s ease, border-color .15s ease, opacity .15s ease;
}
.book-day-chip .wd { font-size: 10.5px; color: var(--ink-3); }
.book-day-chip .d { font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.book-day-chip.selected { background: var(--accent); border-color: var(--accent); }
.book-day-chip.selected .wd, .book-day-chip.selected .d { color: var(--accent-ink); }
.book-day-chip.disabled { opacity: 0.35; cursor: not-allowed; }

.book-slot-grid { display: flex; flex-wrap: wrap; gap: 8px; min-height: 20px; }
.book-slot-chip {
  border: 1px solid var(--line); background: var(--cream-2); border-radius: 999px; padding: 8px 14px;
  font-family: 'Vazirmatn', sans-serif; font-size: 12.5px; font-weight: 700; color: var(--ink); cursor: pointer;
  font-variant-numeric: tabular-nums; transition: background .15s ease, border-color .15s ease;
}
.book-slot-chip.selected { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.book-slot-hint { font-size: 12px; color: var(--ink-3); line-height: 1.7; }
.book-time-flexible { margin-top: 10px; }
.book-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 12px 4px 4px; }
.book-success-icon {
  width: 46px; height: 46px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; margin-bottom: 4px;
}
.book-success h3 { font-size: 16px; font-weight: 800; color: var(--ink); }
.book-success p { font-size: 12.5px; line-height: 1.8; color: var(--ink-2); }
.book-success .book-submit { width: 100%; margin-top: 8px; }

/* ============ CTA ثابت پایین صفحه (فقط موبایل) ============ */
.sticky-cta-wrap { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); pointer-events: none; }
.sticky-cta-wrap::before { content: ''; position: absolute; inset: -24px 0 0; background: linear-gradient(0deg, var(--cream) 45%, transparent 100%); pointer-events: none; }
.sticky-cta {
  position: relative; pointer-events: auto; width: 100%; max-width: 480px; text-align: center;
  background: var(--accent); color: var(--accent-ink); font-size: 12.5px; font-weight: 700; padding: 14px;
  border-radius: 999px; box-shadow: 0 12px 30px oklch(40% 0.06 182.5 / 0.35);
}

/* ============ فوتر ============ */
.site-footer { position: relative; background: var(--dark); color: var(--dark-ink); padding: 52px 16px 20px; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent-light), var(--accent), var(--accent-light)); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: flex; flex-direction: column; gap: 34px; }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand .mark { width: 40px; height: 40px; border-radius: 999px; background: var(--dark-ink); padding: 8px; box-shadow: var(--shadow-2); }
.footer-brand .mark img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand .name { font-size: 17px; font-weight: 800; }
.footer-tagline { font-size: 11px; color: var(--dark-ink-2); margin-top: 10px; line-height: 1.8; max-width: 280px; padding-top: 14px; border-top: 1px solid var(--dark-line); }
.footer-col-title { font-size: 10.5px; font-weight: 700; letter-spacing: .03em; color: var(--accent-light); margin-bottom: 14px; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 12.5px; color: var(--dark-ink-2); transition: color .2s ease; }
.footer-links a:hover { color: var(--dark-ink); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact .row { display: flex; align-items: flex-start; gap: 10px; font-size: 11.5px; color: var(--dark-ink-2); line-height: 1.7; }
.footer-contact .row .ic {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  background: oklch(100% 0 0 / 0.08); border: 1px solid var(--dark-line); margin-top: -1px;
}
.footer-contact .row svg { width: 13px; height: 13px; color: var(--accent-light); }
.footer-insta { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700; color: var(--dark-ink); background: oklch(100% 0 0 / 0.08); border: 1px solid var(--dark-line); padding: 10px 15px; border-radius: 999px; width: fit-content; transition: background .2s ease, border-color .2s ease; }
.footer-insta:hover { background: oklch(100% 0 0 / 0.14); border-color: var(--accent-light); }
.footer-insta svg { width: 16px; height: 16px; color: var(--accent-light); }
.footer-bottom { display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--dark-line); font-size: 10px; color: oklch(95% 0.012 75 / 0.4); }

/* ============ نسخه‌ی دسکتاپ/لپ‌تاپ (۹۰۰px+) ============ */
@media (min-width: 900px) {
  .topbar-inner { padding: 12px 32px; }
  .brand img { width: 28px; height: 28px; }
  .brand span { font-size: 17px; }
  .nav-links { display: flex; }
  .nav-sep { display: block; }
  .menu-btn { display: none; }
  .cta-pill { display: inline-flex; font-size: 13px; padding: 11px 20px; }
  .nav-capsule { max-width: none; padding: 5px; gap: 6px; }
  .nav-tabs button { font-size: 11.5px; padding: 9px 10px; }

  .hero { min-height: 50vh; }
  .hero-marquee-track .tile { width: 24vw; max-width: 24vw; }
  .hero-content { padding: 0 48px; justify-content: center; min-height: 50vh; gap: 16px; max-width: none; }
  .hero-content .eyebrow { font-size: 13px; }
  .hero-content h1 { font-size: 54px; max-width: 780px; }
  .hero-content .sub { font-size: 15.5px; max-width: 520px; line-height: 1.85; }
  .btn-cta { font-size: 13.5px; padding: 14px 26px; margin-top: 6px; }
  .hero-marquee-track .tile img { object-position: 50% 30%; }

  .section { padding: 96px 32px; }
  .section-title { font-size: 38px; }
  .section-sub { font-size: 14px; }

  .modal-about-desktop-grid { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }

  .svc-grid { gap: 36px; margin-top: 44px; max-width: 920px; margin-inline: auto; }
  .svc-group-rows { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .svc-group-rows.solo { grid-template-columns: 1fr; max-width: 446px; }
  .svc-card.full { grid-column: 1 / -1; align-items: center; }
  .svc-card.full .svc-info p { -webkit-line-clamp: 1; }
  .svc-group-head h4 { font-size: 12.5px; }
  .svc-card { padding: 16px; gap: 16px; height: 100%; align-items: flex-start; }
  .svc-media { flex-basis: 88px; width: 88px; height: 88px; }
  .svc-icon-badge { width: 46px; height: 46px; }
  .svc-icon-badge svg { width: 23px; height: 23px; }
  .svc-info h3 { font-size: 14.5px; }
  .svc-info p { font-size: 12px; }

  .modal { left: auto; right: 50%; bottom: auto; top: 50%; transform: translate(50%, -46%) scale(.96); opacity: 0; max-width: 720px; border-radius: 24px; max-height: 84vh; transition: transform .28s cubic-bezier(.16,1,.3,1), opacity .28s ease; }
  .modal.open { transform: translate(50%, -50%) scale(1); opacity: 1; }
  .modal-media { aspect-ratio: 16/8; }

  .site-footer { padding: 68px 32px 26px; }
  .footer-grid { flex-direction: row; justify-content: space-between; gap: 40px; }
  .footer-brand-col { max-width: 280px; }

  .sticky-cta-wrap { display: none; }
}


/* ============ نمونه‌کارِ تعاملی — بالای صفحه (پیش‌نمایش؛ عکس و متن‌ها موقتی‌ان) ============ */
.case-section{ padding:56px 20px 40px; max-width:1520px; margin:0 auto; }
.case-top{ text-align:center; margin-bottom:10px; }
.case-eyebrow{ font-size:12.5px; font-weight:700; color:var(--accent-strong); letter-spacing:.14em; }
.case-top h2{ font-size:clamp(20px,3vw,28px); font-weight:800; margin:8px 0 6px; }
.case-top-sub{ font-size:13px; color:var(--ink-2); max-width:60ch; margin:0 auto; line-height:1.8; }

.case-board{
  width:100%; height:min(880px, calc(100vh - 210px)); min-height:600px;
  display:grid; grid-template-columns:30fr 40fr 30fr; gap:12px; padding:16px;
  border:1px solid oklch(100% 0 0 / 0.7); border-radius:32px;
  background:oklch(100% 0 0 / 0.22); box-shadow:var(--shadow-2);
  backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px); overflow:hidden;
}
.case-panel{
  border:1px solid oklch(100% 0 0 / 0.75); background:oklch(97% 0.012 75 / 0.68);
  box-shadow:var(--shadow-1);
  backdrop-filter:blur(22px) saturate(160%); -webkit-backdrop-filter:blur(22px) saturate(160%);
  border-radius:var(--radius-lg);
}

.case-list{ padding:24px 18px; overflow:hidden; display:flex; flex-direction:column; }
.case-list h3{ font-size:20px; margin:3px 8px 16px; font-weight:800; }
.case-items{ overflow:auto; padding:0 2px 6px; scrollbar-width:none; }
.case-items::-webkit-scrollbar{ display:none; }
.case-item{
  height:96px; width:100%; display:grid; grid-template-columns:68px 1fr 18px; gap:12px; align-items:center;
  padding:11px 12px; margin-bottom:9px; border:1px solid transparent; border-radius:16px;
  background:oklch(100% 0 0 / 0.4); cursor:pointer; transition:.2s;
}
.case-item:hover{ background:oklch(100% 0 0 / 0.7); transform:translateY(-1px); }
.case-item.active{
  background:linear-gradient(100deg, oklch(71.4% 0.052 185.5 / 0.22), oklch(100% 0 0 / 0.65));
  border-color:var(--accent-light); box-shadow:0 8px 20px oklch(40% 0.06 182.5 / 0.1);
}
.case-thumb{ height:70px; width:68px; border-radius:13px; overflow:hidden; background:var(--cream-2); }
.case-thumb img{ width:100%; height:100%; object-fit:cover; }
.case-ttext strong{ display:block; font-size:13.5px; margin-bottom:5px; }
.case-ttext span{ display:block; font-size:10.5px; line-height:1.75; color:var(--ink-3); }
.case-chev{ font-size:19px; color:var(--ink-3); }
.case-list-footer{ margin-top:auto; padding:14px 12px 4px; border-top:1px solid var(--line); }
.case-list-footer b{ font-size:12.5px; }
.case-list-footer p{ font-size:10.5px; line-height:1.9; color:var(--ink-3); margin:7px 0 0; }

.case-hero{ position:relative; overflow:hidden; background:var(--cream-2); aspect-ratio:864/1184; border-radius:var(--radius-lg); }
.case-hero img{ width:100%; height:100%; display:block; object-fit:cover; object-position:center 12%; }
.case-hero:before{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, oklch(23% 0.02 45 / 0.14), transparent 26%, transparent 74%, oklch(23% 0.02 45 / 0.2));
  pointer-events:none;
}
.case-marker{ position:absolute; z-index:5; cursor:pointer; }
.case-marker .dot{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:8px; height:8px; border:1.5px solid #fff; border-radius:50%;
  background:oklch(71.4% 0.052 185.5 / 0.85);
  box-shadow:0 0 0 3px oklch(100% 0 0 / 0.28), 0 5px 14px oklch(23% 0.02 45 / 0.14);
}
.case-marker label{
  position:absolute; top:50%; transform:translateY(-50%);
  font-size:10.5px; font-weight:600; padding:7px 11px; border-radius:999px;
  background:oklch(100% 0 0 / 0.8); border:1px solid oklch(100% 0 0 / 0.95);
  box-shadow:0 7px 20px oklch(23% 0.02 45 / 0.12); white-space:nowrap;
}
.case-marker.active label{ background:var(--accent); color:var(--accent-ink); }
/* لیبل مستقل از دات: با calc نسبت به همون نقطه‌ی لنگر جابه‌جا می‌شه، پس عرضِ متنِ لیبل هیچ‌وقت خودِ دات رو جابه‌جا نمی‌کنه */
.case-marker.label-left label{ right: calc(50% + 13px); }
.case-marker.label-right label{ left: calc(50% + 13px); }
.case-marker.label-above label{ top:auto; bottom: calc(50% + 13px); left:50%; transform:translateX(-50%); }
.case-marker.label-below label{ top: calc(50% + 13px); left:50%; transform:translateX(-50%); }
.cp1{ top:17%; left:65%; }
.cp2{ top:38%; left:30%; }
.cp3{ top:45%; left:78%; }
.cp4{ top:64%; left:52%; }
.case-badge{
  position:absolute; z-index:5; top:20px; left:20px; padding:7px 13px; border-radius:999px;
  font-size:9px; letter-spacing:2.5px; direction:ltr;
  background:oklch(100% 0 0 / 0.55); border:1px solid oklch(100% 0 0 / 0.8); color:var(--ink-2);
  backdrop-filter:blur(12px);
}
.case-counter{
  position:absolute; z-index:5; bottom:16px; left:50%; transform:translateX(-50%);
  display:flex; align-items:center; gap:10px; padding:6px 9px; border-radius:999px;
  background:oklch(100% 0 0 / 0.6); border:1px solid oklch(100% 0 0 / 0.9); backdrop-filter:blur(14px);
}
.case-nav{ width:32px; height:32px; border:1px solid var(--line); border-radius:50%; background:oklch(100% 0 0 / 0.6); color:var(--ink-2); cursor:pointer; font-size:18px; line-height:1; }
.case-num{ font-size:10px; color:var(--ink-3); min-width:42px; text-align:center; font-variant-numeric:tabular-nums; }

.case-detail{ padding:26px 25px; display:flex; flex-direction:column; overflow:hidden; }
.case-kicker{ font-size:9px; letter-spacing:3px; color:var(--accent-strong); direction:ltr; margin-bottom:10px; font-weight:700; }
.case-title{ font-size:30px; margin:0 0 6px; font-weight:800; line-height:1.35; }
.case-sub{ font-size:12px; color:var(--ink-3); margin-bottom:18px; }
.case-copy{ font-size:12px; line-height:2.1; color:var(--ink-2); margin:0 0 18px; }
.case-detail h3{ font-size:15px; margin:0 0 12px; font-weight:800; }
.case-benefits{ display:grid; gap:9px; margin-bottom:16px; }
.case-benefit{ display:flex; align-items:center; gap:10px; font-size:12px; }
.case-bicon{
  width:30px; height:30px; border-radius:50%; display:grid; place-items:center;
  border:1px solid var(--line); background:oklch(100% 0 0 / 0.6); font-size:13px; color:var(--accent-strong); flex-shrink:0;
}
.case-divider{ height:1px; background:var(--line); margin:2px 0 14px; }
.case-selected-title{ font-size:12.5px; font-weight:800; margin-bottom:8px; }
.case-chips{ display:flex; flex-wrap:wrap; gap:7px; max-height:80px; overflow:auto; }
.case-chip{
  font:10px Vazirmatn; padding:7px 11px; border:1px solid var(--line); border-radius:999px;
  background:oklch(100% 0 0 / 0.45); color:var(--ink-2); cursor:pointer;
}
.case-chip.active{ background:var(--accent); color:var(--accent-ink); border-color:var(--accent); }
.case-booking{ margin-top:auto; padding-top:16px; }
.case-book{
  display:flex; align-items:center; justify-content:center;
  width:100%; height:52px; border-radius:999px;
  background:linear-gradient(90deg, var(--accent-strong), var(--accent));
  color:var(--accent-ink); font-size:14px; font-weight:700; cursor:pointer;
  box-shadow:0 12px 25px oklch(40% 0.06 182.5 / 0.22);
}

@media(max-width:1100px){
  .case-board{ height:auto; min-height:0; grid-template-columns:1fr; max-width:640px; margin:0 auto; padding:10px; }
  .case-hero{ order:1; }
  .case-list{ order:2; max-height:360px; }
  .case-detail{ order:3; min-height:0; }
}
@media(max-width:600px){
  .case-section{ padding:40px 12px 30px; }
  .case-board{ border-radius:22px; }
  .case-title{ font-size:24px; }
  .case-list h3{ font-size:17px; }
}
