/* ==========================================================================
   وب‌آرا — سیستم طراحی و استایل‌های صفحه
   --------------------------------------------------------------------------
   فهرست:
   01. توکن‌های طراحی (متغیرهای CSS)
   02. ریست و پایه
   03. ابزارها و کلاس‌های عمومی
   04. دکمه‌ها
   05. آیکون‌ها، پیل‌ها و سرتیتر بخش‌ها
   06. نوار اعلان و هدر چسبان
   07. هیرو و آمار
   08. معرفی خدمت
   09. مزایا (کارت‌ها)
   10. گالری نمونه‌کار + فیلتر + لایت‌باکس
   11. مراحل کار (تایم‌لاین)
   12. نظرات مشتریان
   13. پلن‌ها
   14. آکاردئون FAQ
   15. فرم تماس و حالت‌های موفق/خطا
   16. فراخوان پایانی و فوتر
   17. دکمه شناور و نوار CTA موبایل
   18. انیمیشن‌ها و prefers-reduced-motion
   19. ریسپانسیو (1440 / 1024 / 768 / 414 / 360)
   20. چاپ
   ========================================================================== */

/* ── 01. توکن‌های طراحی ─────────────────────────────────────────────── */
:root {
  /* پالت اصلی */
  --c-brand-50:  #eef2ff;
  --c-brand-100: #e0e7ff;
  --c-brand-200: #c7d2fe;
  --c-brand-300: #a5b4fc;
  --c-brand-400: #818cf8;
  --c-brand-500: #6366f1;
  --c-brand-600: #4f46e5;
  --c-brand-700: #4338ca;
  --c-brand-800: #3730a3;

  --c-accent-400: #22d3ee;
  --c-accent-500: #06b6d4;
  --c-accent-600: #0891b2;

  --c-amber:  #f59e0b;
  --c-rose:   #f43f5e;
  --c-violet: #8b5cf6;
  --c-green:  #10b981;
  --c-wa:     #25d366;
  --c-wa-dark:#1da851;

  /* خنثی‌ها */
  --c-ink:      #0f172a;
  --c-ink-2:    #1e293b;
  --c-body:     #475569;
  --c-muted:    #64748b;
  --c-line:     #e2e8f0;
  --c-line-2:   #eef1f6;
  --c-surface:  #ffffff;
  --c-bg:       #f6f7fb;
  --c-bg-soft:  #f1f4fa;
  --c-dark:     #0b1023;
  --c-dark-2:   #131a36;

  /* گرادیان‌ها */
  --g-brand: linear-gradient(135deg, var(--c-brand-600) 0%, var(--c-brand-500) 45%, var(--c-accent-500) 100%);
  --g-text:  linear-gradient(120deg, #a5b4fc 0%, #67e8f9 55%, #f0abfc 100%);
  --g-dark:  radial-gradient(120% 120% at 85% 0%, #1c2452 0%, #0b1023 55%, #080d1c 100%);
  --g-soft:  linear-gradient(180deg, #ffffff 0%, #f4f6fc 100%);

  /* تایپوگرافی */
  --font: "Vazirmatn", "IRANSans", "Segoe UI", Tahoma, system-ui, -apple-system, sans-serif;
  --fs-xs:   0.8125rem;   /* 13 */
  --fs-sm:   0.9062rem;   /* 14.5 */
  --fs-base: 1rem;        /* 16 */
  --fs-md:   1.0625rem;   /* 17 */
  --fs-lg:   1.1875rem;   /* 19 */
  --fs-xl:   clamp(1.25rem, 1.05rem + 0.7vw, 1.5rem);
  --fs-h3:   clamp(1.1rem, 1rem + 0.45vw, 1.3rem);
  --fs-h2:   clamp(1.6rem, 1.2rem + 1.9vw, 2.6rem);
  --fs-h1:   clamp(2rem, 1.3rem + 3.4vw, 3.75rem);
  --lh-tight: 1.35;
  --lh-body:  2;

  /* اسپیسینگ */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.75rem;
  --sp-8: 3.5rem;
  --sp-9: 5rem;
  --sp-10: 7rem;
  --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);
  --container: 1200px;
  --gutter: clamp(1rem, 0.4rem + 2.2vw, 2rem);

  /* شعاع گوشه */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-2xl: 36px;
  --r-pill: 999px;

  /* سایه‌ها */
  --sh-xs: 0 1px 2px rgba(15, 23, 42, 0.06);
  --sh-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --sh-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --sh-lg: 0 18px 48px rgba(15, 23, 42, 0.12);
  --sh-xl: 0 32px 80px rgba(15, 23, 42, 0.18);
  --sh-brand: 0 14px 34px rgba(79, 70, 229, 0.30);
  --sh-wa: 0 14px 34px rgba(37, 211, 102, 0.32);

  /* حرکت */
  --t-fast: 0.16s ease;
  --t: 0.26s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.5s cubic-bezier(0.22, 1, 0.36, 1);

  /* لایه‌ها */
  --z-header: 60;
  --z-nav: 70;
  --z-fab: 80;
  --z-bar: 85;
  --z-lightbox: 100;
}

/* ── 02. ریست و پایه ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--c-body);
  background: var(--c-bg);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; background-color: var(--c-brand-100); border-radius: inherit; }

h1, h2, h3, h4 {
  color: var(--c-ink);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-h1); font-weight: 900; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { text-wrap: pretty; }

a { color: var(--c-brand-600); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-brand-700); }

ul, ol { list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--c-accent-500);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

::selection { background: var(--c-brand-200); color: var(--c-ink); }

/* ── 03. ابزارها ────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  inset-inline-start: 50%;
  top: -80px;
  transform: translateX(50%);
  z-index: 200;
  background: var(--c-ink);
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 700;
  transition: top var(--t);
}
.skip-link:focus { top: 0; color: #fff; }

.section {
  position: relative;
  padding-block: var(--section-y);
  scroll-margin-top: 88px;
}
.section--soft { background: var(--g-soft); }
.section--dark {
  background: var(--g-dark);
  color: #cbd5e1;
  overflow: hidden;
}
.section--dark h2, .section--dark h3 { color: #fff; }

.section__glow {
  position: absolute;
  inset-block-start: -160px;
  inset-inline-end: -140px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}

.grid { display: grid; gap: clamp(1rem, 0.6rem + 1.2vw, 1.75rem); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: var(--sp-6);
  padding: 0.9rem 1.15rem;
  background: var(--c-brand-50);
  border: 1px dashed var(--c-brand-200);
  border-radius: var(--r-md);
  color: var(--c-muted);
  font-size: var(--fs-sm);
  line-height: 1.9;
}
.note svg { width: 20px; height: 20px; flex: none; margin-top: 0.35rem; color: var(--c-brand-500); }

/* ── 04. دکمه‌ها ────────────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--c-brand-600);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: var(--fs-sm);
  line-height: 1.6;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  will-change: transform;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--g-brand); box-shadow: var(--sh-brand); }
.btn--primary:hover { box-shadow: 0 18px 40px rgba(79, 70, 229, 0.38); }

.btn--whatsapp { background: var(--c-wa); box-shadow: var(--sh-wa); color: #06341a; }
.btn--whatsapp:hover { background: var(--c-wa-dark); color: #04250f; }

.btn--outline {
  background: transparent;
  color: var(--c-brand-700);
  border-color: var(--c-brand-200);
}
.btn--outline:hover { background: var(--c-brand-50); border-color: var(--c-brand-400); color: var(--c-brand-700); }

.btn--ghost {
  background: rgba(99, 102, 241, 0.08);
  color: var(--c-brand-700);
}
.btn--ghost:hover { background: rgba(99, 102, 241, 0.16); color: var(--c-brand-800); }

.btn--light { background: #fff; color: var(--c-brand-700); box-shadow: var(--sh-md); }
.btn--light:hover { color: var(--c-brand-800); box-shadow: var(--sh-lg); }

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }

.btn--sm { padding: 0.55rem 1.05rem; font-size: var(--fs-xs); }
.btn--lg { padding: 1.05rem 2rem; font-size: var(--fs-md); }
.btn--block { display: flex; width: 100%; }

/* ── 05. آیکون‌ها، پیل‌ها، سرتیتر ───────────────────────────────────── */
.ico {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: var(--r-md);
  background: var(--c-brand-50);
  color: var(--c-brand-600);
  transition: transform var(--t), box-shadow var(--t);
}
.ico svg { width: 22px; height: 22px; }
.ico--lg { width: 56px; height: 56px; border-radius: var(--r-lg); }
.ico--lg svg { width: 27px; height: 27px; }

.ico--indigo { background: #eef2ff; color: #4f46e5; }
.ico--cyan   { background: #ecfeff; color: #0891b2; }
.ico--amber  { background: #fff7ed; color: #d97706; }
.ico--rose   { background: #fff1f2; color: #e11d48; }
.ico--green  { background: #ecfdf5; color: #059669; }
.ico--violet { background: #f5f3ff; color: #7c3aed; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--r-pill);
  background: var(--c-brand-50);
  color: var(--c-brand-700);
  border: 1px solid var(--c-brand-100);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.pill--light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #e0e7ff;
  backdrop-filter: blur(6px);
}
.pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-accent-400);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.22);
  animation: pulse 2.4s ease-in-out infinite;
}

.section__head {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 1.2rem + 2vw, 3.5rem);
  text-align: center;
}
.section__head .pill { margin-bottom: var(--sp-4); }
.section__title { margin-bottom: var(--sp-3); }
.section__sub { color: var(--c-muted); font-size: var(--fs-md); }
.section__head--light .section__sub { color: #94a3b8; }

/* ── 06. نوار اعلان و هدر ───────────────────────────────────────────── */
.announce {
  background: linear-gradient(90deg, var(--c-brand-700), var(--c-brand-500) 50%, var(--c-accent-600));
  color: #eef2ff;
  font-size: var(--fs-xs);
  font-weight: 500;
}
.announce__in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 38px;
  text-align: center;
}
.announce__icon { width: 15px; height: 15px; flex: none; color: #fde68a; }

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t), border-color var(--t), background var(--t);
}
.header.is-stuck {
  border-bottom-color: var(--c-line);
  box-shadow: var(--sh-sm);
  background: rgba(255, 255, 255, 0.94);
}
.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 72px;
}
.header__progress {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 3px;
  background: var(--g-brand);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.08s linear;
}

.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--c-ink); }
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: var(--g-brand);
  color: #fff;
  box-shadow: var(--sh-brand);
}
.brand__mark svg { width: 30px; height: 30px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.3; }
.brand__text strong { font-size: 1.15rem; font-weight: 900; color: inherit; }
.brand__text small { font-size: 0.7rem; color: var(--c-muted); font-weight: 500; }
.brand--light { color: #fff; }
.brand--light .brand__text small { color: #94a3b8; }

.nav { display: flex; align-items: center; gap: var(--sp-5); }
.nav__list { display: flex; align-items: center; gap: 0.15rem; }
.nav__list a {
  position: relative;
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: var(--r-sm);
  color: var(--c-ink-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__list a::after {
  content: "";
  position: absolute;
  inset-inline: 0.7rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--g-brand);
  transform: scaleX(0);
  transition: transform var(--t);
}
.nav__list a:hover { color: var(--c-brand-700); }
.nav__list a:hover::after,
.nav__list a.is-active::after { transform: scaleX(1); }
.nav__list a.is-active { color: var(--c-brand-700); font-weight: 700; }

.nav__cta { display: flex; align-items: center; gap: 0.5rem; }

.nav-toggle { display: none; }
.nav-toggle__bars { display: block; width: 22px; }
.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--c-ink);
  transition: transform var(--t), opacity var(--t);
}
.nav-toggle__bars i + i { margin-top: 5px; }
.nav-backdrop { display: none; }

/* ── 07. هیرو ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--g-dark);
  color: #cbd5e1;
  padding-block: clamp(3rem, 1.5rem + 6vw, 6rem) clamp(3rem, 2rem + 4vw, 5rem);
  overflow: hidden;
  scroll-margin-top: 88px;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}
.blob--1 { width: 480px; height: 480px; top: -180px; inset-inline-start: -120px; background: rgba(99, 102, 241, 0.55); }
.blob--2 { width: 420px; height: 420px; top: 40px; inset-inline-end: -100px; background: rgba(6, 182, 212, 0.42); }
.blob--3 { width: 380px; height: 380px; bottom: -180px; inset-inline-start: 38%; background: rgba(139, 92, 246, 0.38); }
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to left, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
}

.hero__in {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}

.hero__title { color: #fff; margin: var(--sp-5) 0 var(--sp-4); }
.grad {
  background: var(--g-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  max-width: 58ch;
  font-size: var(--fs-md);
  color: #b6c2d9;
  line-height: 2.15;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: var(--sp-6);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-sm);
  color: #cbd5e1;
}
.hero__trust li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero__trust svg { width: 17px; height: 17px; color: var(--c-accent-400); flex: none; }

/* موکاپ */
.hero__visual { position: relative; }
.mock {
  border-radius: var(--r-xl);
  background: #111a35;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--sh-xl);
  overflow: hidden;
  transform: perspective(1400px) rotateY(4deg) rotateX(2deg);
  transition: transform var(--t-slow);
}
.mock:hover { transform: perspective(1400px) rotateY(0) rotateX(0) translateY(-6px); }
.mock__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mock__bar > span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #f87171;
}
.mock__bar > span:nth-child(2) { background: #fbbf24; }
.mock__bar > span:nth-child(3) { background: #34d399; }
.mock__url {
  flex: 1;
  margin-inline-start: 0.75rem;
  padding: 0.25rem 0.8rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 0.7rem;
  text-align: center;
  direction: ltr;
}
.mock__img {
  width: 100%;
  aspect-ratio: 900 / 620;
  object-fit: cover;
  background: linear-gradient(135deg, #1e293b, #312e81);
  border-radius: 0;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  backdrop-filter: blur(8px);
  animation: floaty 6s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--c-ink); font-size: 1.05rem; font-weight: 900; line-height: 1.4; }
.float-card small { color: var(--c-muted); font-size: 0.72rem; }
.float-card__icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--c-brand-50);
  color: var(--c-brand-600);
  flex: none;
}
.float-card__icon svg { width: 20px; height: 20px; }
.float-card__icon--green { background: #ecfdf5; color: #059669; }
.float-card--a { bottom: -22px; inset-inline-start: -20px; }
.float-card--b { top: 12%; inset-inline-end: -24px; animation-delay: -3s; }

/* آمار */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  overflow: hidden;
  backdrop-filter: blur(6px);
}
.stats__item {
  padding: 1.35rem 1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  transition: background var(--t);
}
.stats__item:hover { background: rgba(255, 255, 255, 0.1); }
.stats__item strong {
  display: block;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.5;
}
.stats__item span { font-size: var(--fs-xs); color: #94a3b8; }

/* ── 08. معرفی خدمت ─────────────────────────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: start;
}
.about__text .pill { margin-bottom: var(--sp-4); }
.about__text h2 { margin-bottom: var(--sp-5); }
.about__text p { margin-bottom: var(--sp-4); font-size: var(--fs-md); }
.about__text .btn { margin-top: var(--sp-3); }

.about__list { display: grid; gap: 0.9rem; }
.about__item {
  display: flex;
  gap: 0.95rem;
  padding: 1.2rem 1.25rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.about__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--c-brand-200);
}
.about__item:hover .ico { transform: scale(1.08) rotate(-4deg); }
.about__item h3 { margin-bottom: 0.25rem; font-size: 1.02rem; }
.about__item p { font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.95; }

/* ── 09. مزایا ──────────────────────────────────────────────────────── */
.card {
  position: relative;
  padding: clamp(1.4rem, 1rem + 1vw, 2rem);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xs);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--g-brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: var(--c-brand-200);
}
.card:hover::before { transform: scaleX(1); }
.card:hover .ico { transform: scale(1.08) rotate(-5deg); }
.card h3 { margin: var(--sp-4) 0 var(--sp-2); }
.card p { font-size: var(--fs-sm); color: var(--c-muted); line-height: 2.05; }

/* ── 10. گالری، فیلتر و لایت‌باکس ───────────────────────────────────── */
.gallery-wrap { display: flow-root; }

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--sp-6);
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--c-line);
  color: var(--c-ink-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
}
.chip:hover { border-color: var(--c-brand-300); color: var(--c-brand-700); }
.filters input:checked + .chip {
  background: var(--g-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--sh-brand);
}
.filters input:focus-visible + .chip {
  outline: 3px solid var(--c-accent-500);
  outline-offset: 3px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 0.6rem + 1.2vw, 1.75rem);
}

.g-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-xs);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.g-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: var(--c-brand-200);
}
.g-item__link {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-brand-100), var(--c-accent-400));
}
.g-item__link img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  transition: transform var(--t-slow);
}
.g-item:hover .g-item__link img { transform: scale(1.06); }
.g-item__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 16, 35, 0) 45%, rgba(11, 16, 35, 0.55) 100%);
  opacity: 0;
  transition: opacity var(--t);
}
.g-item:hover .g-item__link::after { opacity: 1; }
.g-item__zoom {
  position: absolute;
  inset-block-start: 0.75rem;
  inset-inline-end: 0.75rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--c-brand-700);
  box-shadow: var(--sh-sm);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--t), transform var(--t);
}
.g-item__zoom svg { width: 20px; height: 20px; }
.g-item:hover .g-item__zoom,
.g-item__link:focus-visible .g-item__zoom { opacity: 1; transform: scale(1); }

.g-item figcaption { padding: 1.15rem 1.25rem 1.4rem; }
.g-item figcaption h3 { margin: 0.55rem 0 0.4rem; font-size: 1.05rem; }
.g-item figcaption p { font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.95; }

.tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--c-brand-50);
  color: var(--c-brand-700);
  font-size: 0.72rem;
  font-weight: 700;
}

.gallery__empty { display: none; }

/* فیلتر بدون جاوااسکریپت (:has) */
#filters:has(#cat-shop:checked)    ~ .gallery .g-item:not(.c-shop),
#filters:has(#cat-service:checked) ~ .gallery .g-item:not(.c-service),
#filters:has(#cat-med:checked)     ~ .gallery .g-item:not(.c-med),
#filters:has(#cat-edu:checked)     ~ .gallery .g-item:not(.c-edu) { display: none; }

/* فیلتر با جاوااسکریپت (پشتیبان) */
.gallery[data-filter="shop"]    .g-item:not(.c-shop),
.gallery[data-filter="service"] .g-item:not(.c-service),
.gallery[data-filter="med"]     .g-item:not(.c-med),
.gallery[data-filter="edu"]     .g-item:not(.c-edu) { display: none; }

/* لایت‌باکس */
.lightbox { display: none; }
.lightbox:target {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  padding: clamp(0.75rem, 0.4rem + 2vw, 2.5rem);
  animation: fadeIn 0.22s ease both;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 25, 0.86);
  backdrop-filter: blur(6px);
}
.lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: #0f1730;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  overflow: hidden;
  animation: popIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.lightbox__panel img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  background: #0b1023;
  border-radius: 0;
}
.lightbox__close {
  position: absolute;
  inset-block-start: 0.65rem;
  inset-inline-end: 0.65rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background var(--t), transform var(--t);
}
.lightbox__close:hover { background: var(--c-rose); color: #fff; transform: rotate(90deg); }
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: var(--fs-sm);
}
.lightbox__bar p { color: #cbd5e1; }
.lightbox__nav {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 600;
  font-size: var(--fs-xs);
  transition: background var(--t);
}
.lightbox__nav:hover { background: var(--c-brand-600); color: #fff; }
.lightbox__nav svg { width: 17px; height: 17px; }

body:has(.lightbox:target) { overflow: hidden; }

/* ── 11. مراحل کار ──────────────────────────────────────────────────── */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 0.6rem + 1.2vw, 1.75rem);
}
.timeline::before {
  content: "";
  position: absolute;
  inset-inline: 8%;
  top: 27px;
  height: 2px;
  background: repeating-linear-gradient(to left, var(--c-brand-200) 0 10px, transparent 10px 20px);
}
.tl { position: relative; text-align: center; }
.tl__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--g-brand);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: var(--sh-brand);
  border: 5px solid var(--c-bg);
  transition: transform var(--t);
}
.section .tl:hover .tl__num { transform: scale(1.08); }
.tl__body {
  margin-top: 1rem;
  padding: 1.35rem 1.25rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  height: calc(100% - 4.5rem);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.tl:hover .tl__body { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--c-brand-200); }
.tl__time {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.15rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--c-brand-50);
  color: var(--c-brand-700);
  font-size: 0.72rem;
  font-weight: 700;
}
.tl__body h3 { margin-bottom: 0.45rem; font-size: 1.02rem; }
.tl__body p { font-size: var(--fs-sm); color: var(--c-muted); line-height: 2; }

/* ── 12. نظرات مشتریان ──────────────────────────────────────────────── */
.quotes { align-items: stretch; }
.quote {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  backdrop-filter: blur(8px);
  transition: transform var(--t), background var(--t), border-color var(--t);
}
.quote:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(165, 180, 252, 0.45);
}
.quote__stars { color: #fbbf24; letter-spacing: 0.18em; font-size: 1rem; margin-bottom: 0.85rem; }
.quote blockquote { flex: 1; }
.quote blockquote p { color: #cbd5e1; font-size: var(--fs-sm); line-height: 2.15; }
.quote__by {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.quote__by img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--c-brand-500);
  border: 2px solid rgba(255, 255, 255, 0.25);
  flex: none;
}
.quote__by strong { display: block; color: #fff; font-size: var(--fs-sm); font-weight: 700; }
.quote__by small { color: #94a3b8; font-size: 0.75rem; }

.quote--cta {
  justify-content: center;
  text-align: center;
  background: var(--g-brand);
  border-color: transparent;
  box-shadow: var(--sh-brand);
}
.quote--cta h3 { margin-bottom: 0.6rem; }
.quote--cta p { color: #e0e7ff; font-size: var(--fs-sm); line-height: 2.05; margin-bottom: 1.25rem; }
.quote--cta .btn { align-self: center; }

/* ── 13. پلن‌ها ─────────────────────────────────────────────────────── */
.plans { align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1rem + 1.4vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--c-brand-200); }
.plan__name { font-size: 1.3rem; }
.plan__desc { margin: 0.4rem 0 1.2rem; font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.95; }
.plan__price {
  padding-bottom: 1.2rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px dashed var(--c-line);
  color: var(--c-ink);
  font-size: var(--fs-base);
  font-weight: 600;
}
.plan__price span { font-size: 2.35rem; font-weight: 900; color: var(--c-brand-700); margin-inline-end: 0.25rem; }
.plan__price--quote { font-size: 1.55rem; font-weight: 900; color: var(--c-brand-700); }
.plan__list { flex: 1; display: grid; gap: 0.7rem; margin-bottom: 1.5rem; }
.plan__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: var(--fs-sm);
  color: var(--c-body);
  line-height: 1.9;
}
.plan__list svg { width: 18px; height: 18px; flex: none; margin-top: 0.4rem; color: var(--c-green); }

.plan--featured {
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--g-brand) border-box;
  border: 2px solid transparent;
  box-shadow: var(--sh-lg);
  transform: translateY(-8px);
}
.plan--featured:hover { transform: translateY(-14px); }
.plan__badge {
  position: absolute;
  top: -14px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  padding: 0.3rem 1.1rem;
  border-radius: var(--r-pill);
  background: var(--g-brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: var(--sh-brand);
  white-space: nowrap;
}

/* ── 14. آکاردئون FAQ ───────────────────────────────────────────────── */
.faq {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 0.75rem;
}
.acc {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.acc:hover { border-color: var(--c-brand-200); }
.acc[open] { border-color: var(--c-brand-300); box-shadow: var(--sh-md); }

.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--c-ink);
  font-size: var(--fs-md);
  line-height: 1.8;
  transition: color var(--t-fast), background var(--t-fast);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--c-brand-700); background: var(--c-brand-50); }
.acc summary:focus-visible { outline: 3px solid var(--c-accent-500); outline-offset: -3px; }
.acc[open] summary { color: var(--c-brand-700); }

.acc__ico {
  position: relative;
  display: block;
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--c-brand-50);
  transition: background var(--t), transform var(--t);
}
.acc__ico::before,
.acc__ico::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 13px; height: 2px;
  border-radius: 2px;
  background: var(--c-brand-600);
  transform: translate(-50%, -50%);
  transition: transform var(--t), background var(--t);
}
.acc__ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc[open] .acc__ico { background: var(--g-brand); transform: rotate(180deg); }
.acc[open] .acc__ico::before,
.acc[open] .acc__ico::after { background: #fff; }
.acc[open] .acc__ico::after { transform: translate(-50%, -50%) rotate(0deg); }

.acc__body {
  padding: 0 1.35rem 1.3rem;
  animation: accIn 0.3s ease both;
}
.acc__body p {
  padding-top: 1rem;
  border-top: 1px solid var(--c-line-2);
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 2.15;
}

/* ── 15. فرم تماس ───────────────────────────────────────────────────── */
.contact {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  align-items: start;
}

.contact__form-wrap {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-md);
  padding: clamp(1.4rem, 1rem + 1.6vw, 2.5rem);
}

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.05rem; }
.field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-ink-2);
}
.req { color: var(--c-rose); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--c-bg-soft);
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  color: var(--c-ink);
  font-size: var(--fs-sm);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 2; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.75rem center;
  background-size: 20px;
  padding-inline-start: 2.5rem;
}
.field input::placeholder,
.field textarea::placeholder { color: #94a3b8; }
.field input:hover,
.field textarea:hover,
.field select:hover { border-color: var(--c-brand-300); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--c-brand-500);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.14);
}
.field input.is-invalid,
.field textarea.is-invalid {
  border-color: var(--c-rose);
  background: #fff5f6;
}
.field input.is-invalid:focus,
.field textarea.is-invalid:focus { box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.14); }

.err {
  min-height: 0;
  margin-top: 0.35rem;
  color: var(--c-rose);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.8;
}
.err:empty { margin: 0; }

.hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.25rem 0 0.35rem;
  font-size: var(--fs-sm);
  color: var(--c-body);
  cursor: pointer;
  line-height: 1.9;
}
.check input {
  width: 20px; height: 20px;
  margin-top: 0.35rem;
  flex: none;
  accent-color: var(--c-brand-600);
  cursor: pointer;
}

.form__hint {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: 1rem;
  font-size: var(--fs-xs);
  color: var(--c-muted);
  line-height: 1.9;
}
.form__hint svg { width: 16px; height: 16px; flex: none; margin-top: 0.35rem; color: var(--c-green); }

.spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.form.is-busy .spinner { display: block; }
.form.is-busy #submitBtn { opacity: 0.85; cursor: progress; }

/* حالت موفق / خطا */
.state {
  text-align: center;
  padding: clamp(1.5rem, 1rem + 2vw, 3rem) 1.25rem;
  border-radius: var(--r-xl);
  animation: popIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.state--ok { background: linear-gradient(180deg, #ecfdf5, #ffffff); border: 1px solid #a7f3d0; }
.state--err { background: linear-gradient(180deg, #fff1f2, #ffffff); border: 1px solid #fecdd3; }
.state__ico {
  display: grid;
  place-items: center;
  width: 68px; height: 68px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  color: #fff;
}
.state--ok .state__ico { background: var(--c-green); box-shadow: 0 12px 28px rgba(16, 185, 129, 0.3); }
.state--err .state__ico { background: var(--c-rose); box-shadow: 0 12px 28px rgba(244, 63, 94, 0.3); }
.state__ico svg { width: 34px; height: 34px; }
.state h3 { margin-bottom: 0.6rem; font-size: 1.4rem; }
.state h3:focus-visible { outline: none; }
.state p { max-width: 52ch; margin: 0 auto; font-size: var(--fs-sm); line-height: 2.1; color: var(--c-body); }
.state strong { color: var(--c-brand-700); font-family: var(--font); }
.state__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

/* کارت‌های کناری تماس */
.contact__aside { display: grid; gap: 1rem; }
.info-card {
  padding: clamp(1.25rem, 1rem + 1vw, 1.9rem);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-sm);
}
.info-card h3 { margin-bottom: 1.1rem; font-size: 1.15rem; }

.info-list { display: grid; gap: 0.95rem; }
.info-list li { display: flex; align-items: center; gap: 0.8rem; }
.info-list small { display: block; font-size: 0.72rem; color: var(--c-muted); }
.info-list a, .info-list span:not(.ico) {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.85;
}
.info-list a:hover { color: var(--c-brand-600); }

.map {
  position: relative;
  display: block;
  margin-top: 1.3rem;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-brand-100), var(--c-accent-400));
}
.map img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 0;
  filter: saturate(0.75) contrast(1.05);
  transition: transform var(--t-slow), filter var(--t);
}
.map:hover img { transform: scale(1.05); filter: saturate(1); }
.map__label {
  position: absolute;
  inset-block-end: 0.75rem;
  inset-inline-start: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.95);
  color: var(--c-brand-700);
  font-size: var(--fs-xs);
  font-weight: 700;
  box-shadow: var(--sh-sm);
}
.map__label svg { width: 16px; height: 16px; }

.info-card--accent {
  background: var(--g-brand);
  border-color: transparent;
  color: #e0e7ff;
  box-shadow: var(--sh-brand);
}
.info-card--accent h3 { color: #fff; }
.info-card--accent p { font-size: var(--fs-sm); line-height: 2.05; margin-bottom: 1.25rem; }

/* ── 16. فراخوان پایانی و فوتر ──────────────────────────────────────── */
.cta-band {
  position: relative;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  background: var(--g-brand);
  color: #e0e7ff;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 45%),
                    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.16), transparent 40%);
  pointer-events: none;
}
.cta-band__in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.25rem, 0.8rem + 2vw, 3rem);
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; max-width: 24ch; margin-bottom: 0.6rem; }
.cta-band p { max-width: 58ch; font-size: var(--fs-sm); line-height: 2.05; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.footer {
  background: var(--c-dark);
  color: #94a3b8;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) 1.5rem;
  scroll-margin-top: 88px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.footer__col h3 { margin-bottom: 1.1rem; color: #fff; font-size: 1.02rem; }
.footer__col--brand p { margin: 1rem 0 1.25rem; font-size: var(--fs-sm); line-height: 2.1; max-width: 40ch; }

.footer__links { display: grid; gap: 0.6rem; }
.footer__links a { color: #94a3b8; font-size: var(--fs-sm); transition: color var(--t-fast), padding var(--t-fast); }
.footer__links a:hover { color: #fff; padding-inline-start: 0.3rem; }

.footer__contact { display: grid; gap: 0.85rem; }
.footer__contact small { display: block; font-size: 0.72rem; color: #64748b; }
.footer__contact a, .footer__contact span {
  font-size: var(--fs-sm);
  color: #e2e8f0;
  font-weight: 600;
  line-height: 1.9;
}
.footer__contact a:hover { color: var(--c-accent-400); }
.footer__map { color: var(--c-accent-400) !important; font-weight: 700; }

.socials { display: flex; gap: 0.55rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.07);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--t);
}
.socials a:hover {
  background: var(--g-brand);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}
.socials svg { width: 20px; height: 20px; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-xs);
  color: #64748b;
}

/* ── 17. دکمه شناور و نوار موبایل ───────────────────────────────────── */
.fab {
  position: fixed;
  inset-block-end: 1.5rem;
  inset-inline-start: 1.5rem;
  z-index: var(--z-fab);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform var(--t-slow), opacity var(--t);
}
.fab.is-hidden {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.fab__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  color: #fff;
  box-shadow: var(--sh-lg);
  transition: transform var(--t), box-shadow var(--t);
}
.fab__btn svg { width: 26px; height: 26px; }
.fab__btn:hover { transform: scale(1.09); color: #fff; }
.fab__btn--wa { background: var(--c-wa); box-shadow: var(--sh-wa); }
.fab__btn--wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--c-wa);
  animation: ring 2.4s ease-out infinite;
}
.fab__btn--tel { background: var(--g-brand); }
.fab__tip {
  position: absolute;
  inset-inline-start: calc(100% + 10px);
  white-space: nowrap;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-sm);
  background: var(--c-ink);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity var(--t), transform var(--t);
}
.fab__btn:hover .fab__tip,
.fab__btn:focus-visible .fab__tip { opacity: 1; transform: translateX(0); }

.mobile-bar { display: none; }

/* ── 18. انیمیشن‌ها ─────────────────────────────────────────────────── */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .grid > .reveal:nth-child(2) { transition-delay: 0.07s; }
.js .grid > .reveal:nth-child(3) { transition-delay: 0.14s; }
.js .grid > .reveal:nth-child(4) { transition-delay: 0.07s; }
.js .grid > .reveal:nth-child(5) { transition-delay: 0.14s; }
.js .timeline > .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .timeline > .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .timeline > .reveal:nth-child(4) { transition-delay: 0.24s; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
@keyframes accIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.22); }
  50% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0.06); }
}
@keyframes ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

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

/* ── 19. ریسپانسیو ──────────────────────────────────────────────────── */

/* ≥1440: کمی نفس بیشتر */
@media (min-width: 1440px) {
  :root { --container: 1240px; }
}

/* ≤1180: چیدمان‌های چهارستونه به دو ستون */
@media (max-width: 1180px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .float-card--b { inset-inline-end: -8px; }
  .float-card--a { inset-inline-start: -8px; }
}

/* ≤1024: تبلت افقی */
@media (max-width: 1024px) {
  html { scroll-padding-top: 78px; }

  .nav__list { gap: 0; }
  .nav__list a { padding-inline: 0.5rem; font-size: var(--fs-xs); }
  .nav__cta .btn--ghost { display: none; }

  .hero__in { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__visual { max-width: 640px; margin-inline: auto; width: 100%; }
  .mock { transform: none; }

  .about { grid-template-columns: 1fr; }

  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .timeline::before { display: none; }

  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-6px); }

  .contact { grid-template-columns: 1fr; }
}

/* ≤860: منوی همبرگری */
@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: var(--r-md);
    border: 1px solid var(--c-line);
    background: #fff;
    cursor: pointer;
    order: 3;
  }

  .nav {
    position: fixed;
    inset-block: 0;
    inset-inline-end: 0;
    z-index: var(--z-nav);
    width: min(320px, 86vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1rem;
    padding: 5.5rem 1.5rem 2rem;
    background: #fff;
    box-shadow: -20px 0 60px rgba(15, 23, 42, 0.18);
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform var(--t-slow), visibility var(--t-slow);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  [dir="rtl"] .nav { transform: translateX(105%); }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .nav__list a {
    padding: 0.85rem 0.9rem;
    font-size: var(--fs-md);
    border-radius: var(--r-md);
  }
  .nav__list a:hover, .nav__list a.is-active { background: var(--c-brand-50); }
  .nav__list a::after { display: none; }

  .nav__cta { flex-direction: column; align-items: stretch; gap: 0.6rem; padding-top: 0.75rem; border-top: 1px solid var(--c-line); }
  .nav__cta .btn { justify-content: center; padding-block: 0.85rem; font-size: var(--fs-sm); }
  .nav__cta .btn--ghost { display: inline-flex; }

  .nav-toggle-input:checked ~ .nav { transform: translateX(0); visibility: visible; }
  .nav-toggle-input:checked ~ .nav-toggle .nav-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle-input:checked ~ .nav-toggle .nav-toggle__bars i:nth-child(2) { opacity: 0; }
  .nav-toggle-input:checked ~ .nav-toggle .nav-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-nav) - 5);
    background: rgba(11, 16, 35, 0.5);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t), visibility var(--t);
  }
  body:has(.nav-toggle-input:checked) .nav-backdrop { opacity: 1; visibility: visible; }
  body:has(.nav-toggle-input:checked) { overflow: hidden; }

  /* نوار CTA چسبان موبایل */
  .mobile-bar {
    position: fixed;
    inset-inline: 0;
    inset-block-end: 0;
    z-index: var(--z-bar);
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    gap: 0.4rem;
    padding: 0.5rem 0.6rem calc(0.5rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--c-line);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.1);
    transform: translateY(105%);
    transition: transform var(--t-slow);
  }
  .mobile-bar.is-hidden { transform: translateY(105%); }
  .mobile-bar:not(.is-hidden) { transform: translateY(0); }
  .no-js .mobile-bar { transform: translateY(0); }
  .mobile-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 46px;
    border-radius: var(--r-md);
    font-size: var(--fs-sm);
    font-weight: 700;
    transition: filter var(--t-fast);
  }
  .mobile-bar__btn svg { width: 19px; height: 19px; }
  .mobile-bar__btn--tel { background: var(--c-brand-50); color: var(--c-brand-700); }
  .mobile-bar__btn--wa { background: #e8fbf0; color: #087443; }
  .mobile-bar__btn--cta { background: var(--g-brand); color: #fff; box-shadow: var(--sh-brand); }
  .mobile-bar__btn:active { filter: brightness(0.95); }

  /* جای خالی برای نوار پایین + جابه‌جایی دکمه شناور */
  body { padding-bottom: 72px; }
  .fab { inset-block-end: calc(72px + env(safe-area-inset-bottom)); inset-inline-start: 1rem; }
  .fab__btn { width: 48px; height: 48px; }
  .fab__btn svg { width: 23px; height: 23px; }
  .footer { padding-bottom: 1rem; }
}

/* ≤768: تبلت عمودی */
@media (max-width: 768px) {
  :root { --lh-body: 1.95; }

  .hero__title { font-size: clamp(1.9rem, 1.2rem + 4.2vw, 2.6rem); }
  .stats { grid-template-columns: repeat(2, 1fr); }

  .cta-band__in { flex-direction: column; text-align: center; align-items: center; }
  .cta-band h2, .cta-band p { max-width: none; }
  .cta-band__actions { justify-content: center; width: 100%; }
  .cta-band__actions .btn { flex: 1 1 220px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col--brand { grid-column: 1 / -1; }

  .float-card { padding: 0.6rem 0.8rem; }
  .float-card strong { font-size: 0.95rem; }
  .float-card small { font-size: 0.66rem; }
}

/* ≤640: موبایل بزرگ (414) */
@media (max-width: 640px) {
  .grid--3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; row-gap: 1.5rem; }
  .form__row { grid-template-columns: 1fr; gap: 0; }

  .section__head { text-align: right; }
  .section__head .section__sub { max-width: none; }

  .tl { display: grid; grid-template-columns: 56px 1fr; gap: 0.9rem; text-align: right; align-items: start; }
  .tl__num { margin: 0; border-width: 0; }
  .tl__body { margin-top: 0; height: auto; }

  .hero__trust { flex-direction: column; align-items: center; gap: 0.4rem; }
  .hero__actions .btn { flex: 1 1 100%; }

  .quote__by img { width: 42px; height: 42px; }

  .lightbox__bar { flex-wrap: wrap; justify-content: center; text-align: center; }
  .lightbox__bar p { order: -1; width: 100%; font-size: var(--fs-xs); }

  .state__actions .btn { flex: 1 1 100%; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ≤400: موبایل کوچک (360) */
@media (max-width: 400px) {
  :root { --gutter: 0.9rem; }

  .announce__in { font-size: 0.7rem; line-height: 1.7; padding-block: 0.35rem; }
  .brand__text small { display: none; }
  .brand__mark { width: 38px; height: 38px; }

  .footer__grid { grid-template-columns: 1fr; }
  .float-card--a { inset-inline-start: 0; bottom: -16px; }
  .float-card--b { inset-inline-end: 0; top: 8px; }

  .mobile-bar { grid-template-columns: 1fr 1fr; }
  .mobile-bar__btn--cta { grid-column: 1 / -1; }
  body { padding-bottom: 122px; }
  .fab { inset-block-end: calc(122px + env(safe-area-inset-bottom)); }

  .btn--lg { padding: 0.95rem 1.4rem; font-size: var(--fs-sm); }
  .plan__price span { font-size: 2rem; }
}

/* ── 20. چاپ ───────────────────────────────────────────────────────── */
@media print {
  .header, .announce, .fab, .mobile-bar, .nav, .lightbox, .cta-band__actions, .hero__actions { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .hero, .section--dark, .footer { background: #fff !important; color: #000 !important; }
  .hero__title, .section--dark h2, .section--dark h3, .footer h3 { color: #000 !important; }
  .acc__body { display: block !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.7rem; }
}
