/* ============================================================
   آسایشگاه سالمندان مهریز — استایل کلی قالب
   Design System: Glassmorphism + OKLCH + RTL
   نسخهٔ ۱.۱ — بهینه‌سازی تجربهٔ موبایل (Mobile UX Enhancements)
   ============================================================ */

/* ---------- ۱. متغیرها ---------- */
:root {
  --peach:    oklch(0.84 0.13 45);
  --coral:    oklch(0.76 0.14 30);
  --rose:     oklch(0.80 0.11 15);
  --amber:    oklch(0.88 0.12 75);
  --gold:     oklch(0.82 0.10 85);
  --sage:     oklch(0.78 0.08 155);
  --teal:     oklch(0.74 0.10 185);
  --sky:      oklch(0.80 0.09 220);
  --lavender: oklch(0.78 0.10 290);
  --plum:     oklch(0.62 0.13 300);
  --mauve:    oklch(0.70 0.11 310);

  --base:      oklch(0.96 0.015 300);
  --base-warm: oklch(0.95 0.02 60);
  --ink:       oklch(0.28 0.05 290);
  --ink-soft:  oklch(0.44 0.04 290);
  --ink-muted: oklch(0.56 0.03 290);

  --glass-bg: linear-gradient(160deg, oklch(1 0 0 / .44), oklch(1 0 0 / .14));
  --glass-blur: blur(24px) saturate(170%);
  --glass-radius: 32px;
  --glass-radius-sm: 24px;
  --glass-radius-xs: 18px;

  --shadow-outer: 0 8px 32px oklch(.28 .05 290 / .10), 0 2px 8px oklch(.28 .05 290 / .06);
  --shadow-in-top: inset 0 1.5px 0 oklch(1 0 0 / .85);
  --shadow-in-left: inset 1px 0 0 oklch(.84 .13 45 / .20);
  --shadow-in-right: inset -1px 0 0 oklch(.74 .10 185 / .20);
  --shadow-glass: var(--shadow-outer), var(--shadow-in-top), var(--shadow-in-left), var(--shadow-in-right);

  --spring: cubic-bezier(.34, 1.9, .5, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-snap: 80ms;

  /* Safe areas (iOS notch / Dynamic Island / Android gesture bar) */
  --safe-top:    env(safe-area-inset-top, 0px);
  --safe-right:  env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left:   env(safe-area-inset-left, 0px);

  /* حداقل اندازهٔ لمس — استاندارد WCAG / iOS HIG */
  --tap-min: 44px;

  /* نسبت استاندارد تصویر خبر و مقاله — در همهٔ صفحات یکسان است */
  --post-image-ratio: 16 / 9;
}

/* ---------- ۲. ریست و پایه ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(145deg, var(--base) 0%, var(--base-warm) 40%, oklch(.94 .02 200) 100%);
  background-attachment: fixed;
  color: var(--ink);
  min-height: 100dvh;
  overflow-x: hidden;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button {
  font-family: inherit; cursor: pointer; background: transparent; border: 0; color: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
input, textarea, select { font-family: inherit; -webkit-tap-highlight-color: transparent; }

/* جلوگیری از بزرگ‌شدن خودکار فونت روی iOS Safari هنگام فوکوس روی input */
@media (max-width: 720px) {
  input, textarea, select { font-size: 16px !important; }
}

/* ---------- ۳. پس‌زمینه زنده ---------- */
.bg-layer {
  position: fixed; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none; contain: strict;
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .5;
  will-change: transform; transform: translateZ(0);
}
.blob--1 { width: 440px; height: 440px; top: -10%; right: -8%; background: var(--peach); }
.blob--2 { width: 380px; height: 380px; bottom: 5%; left: -6%; background: var(--teal); }
.blob--3 { width: 320px; height: 320px; top: 40%; right: 15%; background: var(--lavender); opacity: .35; }
.blob--4 { width: 300px; height: 300px; bottom: 25%; right: -5%; background: var(--rose); opacity: .4; }
.blob--5 { width: 260px; height: 260px; top: 15%; left: 10%; background: var(--amber); opacity: .3; }
.blob--6 { width: 280px; height: 280px; bottom: 45%; right: 30%; background: var(--sage); opacity: .25; }

/* در موبایل تعداد بلاب‌ها را کاهش و سبک‌تر می‌کنیم تا پرفورمنس بهتر شود */
@media (max-width: 720px) {
  .blob { filter: blur(60px); opacity: .32; }
  .blob--3, .blob--5, .blob--6 { display: none; }
  .blob--1 { width: 320px; height: 320px; }
  .blob--2 { width: 280px; height: 280px; }
  .blob--4 { width: 220px; height: 220px; }
}

/* ---------- ۴. کانتینر ---------- */
.page {
  position: relative; z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-block: 0 80px;
  padding-inline: max(20px, calc(20px + var(--safe-left))) max(20px, calc(20px + var(--safe-right)));
  min-height: 100dvh;
  display: flex; flex-direction: column;
}
.page > *:not(.footer) { flex-shrink: 0; }
.page > .footer { margin-top: auto; }

/* ============================================================
   توجه: کلاس page--narrow حذف شد.
   صفحات جزئیات اخبار و مقالات اکنون از عرض کامل قالب
   (مطابق سایر صفحات سایت) استفاده می‌کنند تا ظاهر فشرده نداشته باشند.
   ============================================================ */

/* ---------- ۵. تاپبار ---------- */
.topbar {
  position: sticky; top: 12px; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 24px; margin-bottom: 40px;
  border-radius: var(--glass-radius);
  background: linear-gradient(160deg, oklch(1 0 0 / .82), oklch(.98 .012 60 / .68));
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border: .5px solid oklch(1 0 0 / .8);
  box-shadow:
    0 10px 40px oklch(.28 .05 290 / .14),
    0 2px 8px oklch(.28 .05 290 / .08),
    inset 0 1.5px 0 oklch(1 0 0 / .95),
    inset 0 -1px 0 oklch(.84 .13 45 / .12);
}
.topbar__logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 900; font-size: 1.05rem; color: oklch(.24 .05 290);
  min-width: 0;
}
.topbar__logo-img {
  width: 42px; height: 42px; border-radius: 14px;
  object-fit: cover; border: 1.5px solid oklch(1 0 0 / .7);
  box-shadow: 0 2px 8px oklch(.28 .05 290 / .12);
  flex-shrink: 0;
}
.topbar__logo-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.topbar__logo-text > span {
  color: oklch(.24 .05 290); font-weight: 900;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.topbar__logo-text small {
  font-size: .62rem; font-weight: 700; color: oklch(.42 .04 290);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.topbar__nav { display: flex; gap: 2px; align-items: center; }
.topbar__nav > a,
.topbar__nav > .nav-item > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 16px;
  font-size: .86rem; font-weight: 800;
  color: oklch(.32 .05 290); background: transparent;
  border: 0;
  transition: background .25s var(--ease-out), color .25s var(--ease-out);
  line-height: 1.3;
  min-height: 40px;
}
.topbar__nav > a:hover,
.topbar__nav > .nav-item > button:hover,
.topbar__nav a.is-active {
  background: linear-gradient(135deg, oklch(.84 .13 45 / .35), oklch(.78 .10 290 / .25));
  color: var(--plum);
}
.nav-item { position: relative; }
.nav-item__caret { transition: transform .3s var(--ease-out); }
.nav-item:hover .nav-item__caret,
.nav-item:focus-within .nav-item__caret { transform: rotate(180deg); }
.nav-item__menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 240px; padding: 8px;
  border-radius: 20px;
  background: linear-gradient(160deg, oklch(.99 .008 300 / .99), oklch(.97 .015 60 / .99));
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border: .5px solid oklch(.84 .13 45 / .28);
  box-shadow:
    0 20px 48px oklch(.28 .05 290 / .22),
    0 4px 12px oklch(.28 .05 290 / .12),
    inset 0 1.5px 0 oklch(1 0 0 / .95);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease-out), visibility .3s var(--ease-out), transform .3s var(--ease-out);
}
.nav-item:hover .nav-item__menu,
.nav-item:focus-within .nav-item__menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-item__menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 12px; font-size: .85rem; font-weight: 700;
  color: oklch(.28 .05 290);
  transition: background .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out);
  min-height: 44px;
}
.nav-item__menu a .ico { color: var(--plum); }
.nav-item__menu a:hover {
  background: linear-gradient(135deg, oklch(.84 .13 45 / .22), oklch(.78 .10 290 / .15));
  color: var(--plum);
  transform: translateX(-3px);
}

.topbar__actions { display: flex; align-items: center; gap: 8px; }
.topbar__burger {
  display: none; width: 44px; height: 44px; border-radius: 14px;
  background: oklch(1 0 0 / .55); border: .5px solid oklch(1 0 0 / .7);
  align-items: center; justify-content: center;
  color: oklch(.28 .05 290);
  flex-shrink: 0;
  transition: background .2s var(--ease-out), transform .2s var(--ease-out);
}
.topbar__burger:active { transform: scale(.92); }

/* منوی موبایل */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: oklch(.96 .015 300 / .96);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  padding-block: max(20px, calc(20px + var(--safe-top))) max(24px, calc(24px + var(--safe-bottom)));
  padding-inline: max(20px, calc(20px + var(--safe-left))) max(20px, calc(20px + var(--safe-right)));
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease-out), visibility .3s;
  overscroll-behavior: contain;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav__close {
  align-self: flex-end; width: 44px; height: 44px;
  border-radius: 14px; background: oklch(1 0 0 / .6);
  border: .5px solid oklch(1 0 0 / .7);
  display: grid; place-items: center;
  color: var(--ink); margin-bottom: 20px;
  flex-shrink: 0;
  transition: background .2s var(--ease-out);
}
.mobile-nav__close:active { background: oklch(1 0 0 / .85); }
.mobile-nav__links {
  display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.mobile-nav__links a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 16px;
  font-size: .98rem; font-weight: 700; color: var(--ink-soft);
  transition: background .2s, color .2s;
  min-height: 52px;
}
.mobile-nav__links a .ico { color: var(--plum); width: 1.2em; height: 1.2em; }
.mobile-nav__links a:active,
.mobile-nav__links a:hover,
.mobile-nav__links a.is-active { background: oklch(1 0 0 / .7); color: var(--plum); }

/* ---------- ۶. دکمه‌ها ---------- */
.glass-btn {
  position: relative; display: inline-flex;
  align-items: center; justify-content: center;
  gap: 8px;
  padding: 13px 28px; border-radius: 999px;
  font-family: inherit; font-size: .92rem; font-weight: 700;
  border: .5px solid oklch(1 0 0 / .55);
  cursor: pointer; text-decoration: none;
  transition: transform .35s var(--spring), box-shadow .35s var(--ease-out), background .3s;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-glass);
  color: var(--ink); overflow: hidden; isolation: isolate;
  user-select: none; touch-action: manipulation;
  line-height: 1.3;
  white-space: nowrap;
  min-height: var(--tap-min);
}
.glass-btn--primary {
  background: linear-gradient(160deg, oklch(.84 .13 45 / .75), oklch(.80 .11 15 / .55));
}
.glass-btn--secondary {
  background: linear-gradient(160deg, oklch(.74 .10 185 / .55), oklch(.78 .10 290 / .45));
}
.glass-btn--ghost {
  background: oklch(1 0 0 / .3);
}
.glass-btn::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), oklch(1 0 0 / .35), transparent 70%);
  opacity: 0; transition: opacity .35s var(--ease-out);
  pointer-events: none; z-index: -1;
}
@media (hover: hover) {
  .glass-btn:hover::before { opacity: 1; }
  .glass-btn:hover { transform: translateY(-2px) scale(1.02); }
}
.glass-btn:active { transform: scale(.94); transition-duration: var(--ease-snap); }
.glass-btn:focus-visible { outline: 2.5px solid var(--plum); outline-offset: 3px; }
.glass-btn--block { width: 100%; justify-content: center; }
.glass-btn--lg { padding: 16px 36px; font-size: 1rem; }

/* ---------- ۷. هیرو (Landing) ---------- */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 40px; align-items: center;
  padding: 56px 48px; margin-bottom: 48px;
  border-radius: 40px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: .5px solid oklch(1 0 0 / .55);
  box-shadow: var(--shadow-glass);
  overflow: hidden; isolation: isolate;
}
.hero::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit;
  background: conic-gradient(
          from 120deg,
          oklch(.84 .13 45 / .15), oklch(.74 .10 185 / .12),
          oklch(.78 .10 290 / .14), oklch(.80 .11 15 / .12),
          oklch(.88 .12 75 / .10), oklch(.84 .13 45 / .15)
  );
  z-index: -1; filter: blur(28px); opacity: .7; pointer-events: none;
}
.hero::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), oklch(1 0 0 / .18), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease-out);
  pointer-events: none; z-index: 1;
}
.hero:hover::before { opacity: 1; }
.hero__content { position: relative; z-index: 2; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px; border-radius: 999px;
  background: linear-gradient(135deg, oklch(.84 .13 45 / .25), oklch(.80 .11 15 / .20));
  border: .5px solid oklch(.84 .13 45 / .3);
  font-size: .8rem; font-weight: 700;
  color: var(--plum); margin-bottom: 20px;
  line-height: 1.6;
}
.hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 8px oklch(.74 .10 185 / .5);
  flex-shrink: 0;
}
.hero__title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 900; line-height: 1.4; letter-spacing: -.02em;
  margin-bottom: 20px; text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--coral), var(--plum), var(--teal));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__desc {
  font-size: 1rem; color: var(--ink-soft);
  margin-bottom: 28px; max-width: 520px;
  text-wrap: pretty; line-height: 1.95;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__visual {
  position: relative; z-index: 2; border-radius: 28px; overflow: hidden;
  box-shadow: 0 12px 48px oklch(.28 .05 290 / .15), var(--shadow-in-top);
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--peach), var(--lavender), var(--teal));
}
.hero__visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.hero__visual:hover img { transform: scale(1.05); }

/* ---------- ۸. هیرو صفحات داخلی ---------- */
.page-hero {
  position: relative;
  padding: 48px 40px; margin-bottom: 40px;
  border-radius: 36px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: .5px solid oklch(1 0 0 / .55);
  box-shadow: var(--shadow-glass);
  overflow: hidden; isolation: isolate;
  text-align: center;
}
.page-hero::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit;
  background: conic-gradient(
          from 200deg,
          oklch(.84 .13 45 / .18), oklch(.74 .10 185 / .15),
          oklch(.78 .10 290 / .18), oklch(.80 .11 15 / .15),
          oklch(.84 .13 45 / .18)
  );
  z-index: -1; filter: blur(28px); opacity: .6; pointer-events: none;
}
.page-hero__breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; color: var(--ink-soft);
  margin-bottom: 14px; padding: 6px 16px;
  border-radius: 999px; background: oklch(1 0 0 / .4);
  flex-wrap: wrap; justify-content: center;
}
.page-hero__breadcrumb a { transition: color .2s; }
.page-hero__breadcrumb a:hover { color: var(--plum); }
.page-hero__breadcrumb span { opacity: .5; }
.page-hero__title {
  font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 900;
  margin-bottom: 12px; text-wrap: balance;
  line-height: 1.4;
}
.page-hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--coral), var(--plum));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero__desc {
  font-size: .95rem; color: var(--ink-soft);
  max-width: 720px; margin: 0 auto;
  text-wrap: pretty; line-height: 1.95;
}
.page-hero__meta {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-top: 14px; font-size: .82rem; color: var(--ink-muted); font-weight: 700;
}
.page-hero__meta-item {
  display: inline-flex; align-items: center; gap: 6px;
}
.page-hero__meta-item .ico { width: 1em; height: 1em; }

/* ---------- ۹. آمار ---------- */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px; margin-bottom: 56px;
}
.stat-card {
  padding: 28px 24px; border-radius: var(--glass-radius-sm);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: .5px solid oklch(1 0 0 / .5);
  box-shadow: var(--shadow-glass);
  text-align: center;
  transition: transform .4s var(--spring);
}
.stat-card:nth-child(1) .stat-card__number { color: var(--coral); }
.stat-card:nth-child(2) .stat-card__number { color: var(--teal); }
.stat-card:nth-child(3) .stat-card__number { color: var(--plum); }
.stat-card:nth-child(4) .stat-card__number { color: var(--amber); }
.stat-card__number {
  font-size: 2.2rem; font-weight: 900;
  font-variant-numeric: tabular-nums; line-height: 1.3;
  direction: ltr; unicode-bidi: embed;
}
.stat-card__label {
  font-size: .86rem; color: var(--ink-soft);
  font-weight: 600; margin-top: 6px;
}

/* ---------- ۱۰. سکشن‌ها ---------- */
.section { margin-bottom: 56px; }
.section__header { text-align: center; margin-bottom: 36px; }
.section__title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800; text-wrap: balance; margin-bottom: 8px;
  line-height: 1.5;
}
.section__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--coral), var(--plum));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section__subtitle {
  font-size: .95rem; color: var(--ink-soft); text-wrap: pretty;
}
.section__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .88rem; font-weight: 700; color: var(--plum);
  transition: gap .3s var(--ease-out);
  min-height: 40px;
}
.section__link:hover { gap: 12px; }

/* ---------- ۱۱. گرید کارت‌های شیشه‌ای ---------- */
.grid {
  display: grid; gap: 20px;
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--glass-radius);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: .5px solid oklch(1 0 0 / .5);
  box-shadow: var(--shadow-glass);
  transition: transform .5s var(--spring), box-shadow .5s var(--ease-out);
  overflow: hidden; isolation: isolate;
  display: block;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), oklch(1 0 0 / .14), transparent 60%);
  opacity: 0; transition: opacity .45s var(--ease-out);
  pointer-events: none; z-index: 0;
}
@media (hover: hover) {
  .card:hover::before { opacity: 1; }
  .card:hover { transform: translateY(-4px); }
}
.card__icon {
  width: 56px; height: 56px; border-radius: 20px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  border: .5px solid oklch(1 0 0 / .5);
  position: relative; z-index: 1;
}
.card__icon .ico { width: 1.6em; height: 1.6em; }
.card__title {
  font-size: 1.08rem; font-weight: 800;
  margin-bottom: 8px; position: relative; z-index: 1;
  text-wrap: balance;
}
.card__desc {
  font-size: .9rem; color: var(--ink-soft);
  line-height: 1.95; position: relative; z-index: 1;
  text-wrap: pretty;
}
.card--way .card__icon {
  background: linear-gradient(135deg, oklch(.84 .13 45 / .4), oklch(.80 .11 15 / .3));
  color: var(--coral);
}
.card--way:nth-child(2) .card__icon {
  background: linear-gradient(135deg, oklch(.74 .10 185 / .4), oklch(.80 .09 220 / .3));
  color: var(--teal);
}
.card--way:nth-child(3) .card__icon {
  background: linear-gradient(135deg, oklch(.78 .10 290 / .4), oklch(.70 .11 310 / .3));
  color: var(--plum);
}
.card--way:nth-child(4) .card__icon {
  background: linear-gradient(135deg, oklch(.88 .12 75 / .4), oklch(.82 .10 85 / .3));
  color: var(--amber);
}

/* ---------- ۱۲. درباره ---------- */
.about {
  padding: 48px 40px; margin-bottom: 56px;
  border-radius: 36px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: .5px solid oklch(1 0 0 / .5);
  box-shadow: var(--shadow-glass);
}
.about__visual {
  width: 100%;
  margin: 0 0 32px;
  border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--teal), var(--sky));
  box-shadow: 0 8px 32px oklch(.28 .05 290 / .12);
}
.about__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.about__visual:hover img { transform: scale(1.04); }
.about__content { min-width: 0; }
.about__content :is(h1, h2, h3) {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 800; margin-bottom: 16px; text-wrap: balance;
}
.about__content p {
  font-size: .92rem; color: var(--ink-soft);
  line-height: 2; margin-bottom: 16px; text-wrap: pretty;
}
.about__rich > :last-child { margin-bottom: 0; }
.about__rich blockquote {
  border-inline-start: 3px solid var(--peach);
  padding: 8px 20px;
  margin: 1.2em 0;
  background: oklch(1 0 0 / .3);
  border-radius: 12px;
  color: var(--ink-soft);
}
.about__list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.about__list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .88rem; color: var(--ink-soft); font-weight: 600;
}
.about__list li::before {
  content: "◆"; color: var(--teal); font-size: .6rem;
  margin-top: 7px; flex-shrink: 0;
}

/* ---------- ۱۳. اخبار ---------- */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-card {
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  padding: 26px 30px; border-radius: var(--glass-radius-sm);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: .5px solid oklch(1 0 0 / .5);
  box-shadow: var(--shadow-glass);
  transition: transform .4s var(--spring);
  color: inherit; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
}
@media (hover: hover) {
  .news-card:hover { transform: translateY(-3px); }
  .news-card:hover .news-card__title { color: var(--plum); }
}
.news-card__thumb {
  width: 176px;
  aspect-ratio: var(--post-image-ratio);
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
  border: 1px solid oklch(1 0 0 / .5);
  box-shadow: 0 4px 12px oklch(.28 .05 290 / .1);
}
.news-card__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.news-card__meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: .75rem; font-weight: 700; color: var(--teal);
}
.news-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.news-card__meta span:not(:first-child)::before {
  content: "•"; color: currentColor;
  margin-inline-end: 4px;
}
.news-card__title {
  font-size: 1.05rem; font-weight: 800;
  transition: color .3s var(--ease-out); text-wrap: balance;
  line-height: 1.6;
}
.news-card__excerpt {
  font-size: .88rem; color: var(--ink-soft); line-height: 1.9;
}
.news-card__more {
  font-size: .85rem; font-weight: 700; color: var(--plum);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .3s;
}
.news-card:hover .news-card__more { gap: 12px; }

/* تب‌ها */
.tabs {
  display: inline-flex; gap: 4px; padding: 6px;
  border-radius: 999px; background: oklch(1 0 0 / .4);
  border: .5px solid oklch(1 0 0 / .5);
  flex-wrap: wrap;
}
.tabs__btn {
  padding: 10px 24px; border-radius: 999px;
  font-size: .88rem; font-weight: 700; color: var(--ink-soft);
  background: transparent; border: 0;
  transition: all .3s var(--ease-out);
  min-height: 40px;
}
.tabs__btn.is-active {
  background: linear-gradient(160deg, oklch(.84 .13 45 / .6), oklch(.80 .11 15 / .45));
  color: var(--ink);
  box-shadow: 0 4px 12px oklch(.28 .05 290 / .08);
}
.tabs__wrap { display: flex; justify-content: center; margin-bottom: 32px; }

/* ---------- ۱۴. کارت بانکی ---------- */
.bank-card {
  position: relative;
  min-height: 215px;
  border-radius: 24px;
  padding: 26px;
  background: linear-gradient(135deg,
  oklch(.45 .12 290) 0%,
  oklch(.35 .14 265) 45%,
  oklch(.28 .10 250) 100%);
  color: oklch(.98 0 0);
  box-shadow:
          0 20px 48px oklch(.28 .05 290 / .35),
          inset 0 1px 0 oklch(1 0 0 / .2);
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--spring);
  display: flex; flex-direction: column;
}
.bank-card::before {
  content: ""; position: absolute; inset: -40%;
  background:
          radial-gradient(circle at 20% 20%, oklch(.74 .10 185 / .35), transparent 45%),
          radial-gradient(circle at 80% 80%, oklch(.80 .11 15 / .3), transparent 50%);
  z-index: -1;
}
.bank-card__chip {
  width: 46px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, oklch(.88 .12 75), oklch(.82 .10 85));
  box-shadow: inset 0 0 0 1px oklch(.6 .08 75 / .5);
  margin-bottom: 20px;
  position: relative;
  flex-shrink: 0;
}
.bank-card__chip::after {
  content: ""; position: absolute; inset: 6px 12px;
  border-left: 1px solid oklch(.5 .05 75 / .4);
  border-right: 1px solid oklch(.5 .05 75 / .4);
}
.bank-card__label {
  font-size: .72rem; opacity: .7; font-weight: 600;
  letter-spacing: .08em; margin-bottom: 4px;
}
.bank-card__number {
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  font-weight: 800; letter-spacing: .12em;
  direction: ltr; unicode-bidi: embed;
  margin-bottom: 22px; font-variant-numeric: tabular-nums;
}
.bank-card__row {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px; margin-top: auto; flex-wrap: wrap;
}
.bank-card__owner { min-width: 0; }
.bank-card__name {
  font-size: .95rem; font-weight: 700;
  overflow-wrap: anywhere;
}
.bank-card__bank {
  font-size: .8rem; opacity: .8; font-weight: 600;
  overflow-wrap: anywhere;
}
.bank-card__copy {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: oklch(1 0 0 / .18);
  border: .5px solid oklch(1 0 0 / .25);
  color: inherit; font-size: .75rem; font-weight: 700;
  transition: background .25s;
  cursor: pointer;
  min-height: 40px;
}
.bank-card__copy .ico { width: 1.05em; height: 1.05em; }
.bank-card__copy:hover { background: oklch(1 0 0 / .3); }
.bank-card__copy.is-copied { background: oklch(.78 .08 155 / .5); color: oklch(.98 0 0); }

/* ---------- ۱۴.۱. رنگ‌های کارت بانکی ---------- */
.bank-card--plum {
  background: linear-gradient(135deg, oklch(.45 .12 290) 0%, oklch(.35 .14 265) 45%, oklch(.28 .10 250) 100%);
}
.bank-card--teal {
  background: linear-gradient(135deg, oklch(.45 .12 185) 0%, oklch(.38 .13 220) 45%, oklch(.30 .11 250) 100%);
}
.bank-card--peach {
  background: linear-gradient(135deg, oklch(.55 .14 60) 0%, oklch(.50 .15 35) 45%, oklch(.40 .13 15) 100%);
}
.bank-card--ocean {
  background: linear-gradient(135deg, oklch(.45 .12 240) 0%, oklch(.38 .13 255) 45%, oklch(.28 .11 270) 100%);
}
.bank-card--emerald {
  background: linear-gradient(135deg, oklch(.45 .11 155) 0%, oklch(.38 .12 170) 45%, oklch(.28 .10 185) 100%);
}

/* ---------- ۱۴.۲. گرید کارت‌های بانکی (هر ردیف دو کارت) ---------- */
.bank-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 56px;
}

/* ---------- ۱۵. گالری ---------- */
.gallery-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.gallery-item {
  position: relative; aspect-ratio: 4 / 3;
  width: 100%; padding: 0;
  appearance: none; -webkit-appearance: none;
  color: inherit; font: inherit; text-align: inherit;
  border-radius: var(--glass-radius-sm);
  overflow: hidden; cursor: pointer;
  background: linear-gradient(135deg, var(--peach), var(--lavender), var(--teal));
  box-shadow: var(--shadow-glass);
  border: .5px solid oklch(1 0 0 / .5);
  transition: transform .4s var(--spring);
  display: block;
}
.gallery-item:hover { transform: translateY(-4px); }
.gallery-item:focus-visible,
.about-gallery__item:focus-visible {
  outline: 3px solid oklch(.74 .10 185 / .8);
  outline-offset: 3px;
}
.about-gallery__item {
  width: 100%; padding: 0;
  appearance: none; -webkit-appearance: none;
  color: inherit; font: inherit; text-align: inherit;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform .6s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, oklch(.28 .05 290 / .75) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: 18px;
  color: oklch(.98 0 0);
}
.gallery-item__title { font-size: .95rem; font-weight: 800; }
.gallery-item__sub { font-size: .75rem; opacity: .85; font-weight: 600; margin-top: 2px; }
.gallery-item__zoom {
  position: absolute; top: 12px; left: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: oklch(.15 .03 290 / .55);
  border: .5px solid oklch(1 0 0 / .35);
  color: oklch(.98 0 0);
  display: grid; place-items: center;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transform: scale(.88);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.gallery-item__zoom .ico { width: 1.05rem; height: 1.05rem; }
.gallery-item:hover .gallery-item__zoom,
.gallery-item:focus-visible .gallery-item__zoom {
  opacity: 1; transform: scale(1);
}

/* لایت‌باکس */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: oklch(.14 .03 290 / .94);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  display: flex; align-items: center; justify-content: center;
  padding: max(76px, calc(76px + var(--safe-top))) max(84px, calc(84px + var(--safe-right))) max(96px, calc(96px + var(--safe-bottom))) max(84px, calc(84px + var(--safe-left)));
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
  overflow: hidden;
  user-select: none;
}
.lightbox.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.site-shell:has(.lightbox.is-open) .topbar {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.lightbox__stage {
  max-width: min(86vw, 1200px);
  max-height: calc(100dvh - 172px);
  position: relative; display: flex; align-items: center; justify-content: center;
  margin: 0;
}
.lightbox__img {
  display: block;
  max-width: min(86vw, 1200px);
  max-height: calc(100dvh - 172px);
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 30px 80px oklch(0 0 0 / .55);
  transition: transform .25s var(--ease-out);
  cursor: zoom-in;
  transform-origin: center center;
  will-change: transform;
  -webkit-user-drag: none;
}
.lightbox__img.is-zoomed {
  cursor: grab;
}
.lightbox__img.is-dragging {
  cursor: grabbing;
  transition: none;
}
.lightbox__close,
.lightbox__nav {
  position: fixed; z-index: 10;
  width: 48px; height: 48px;
  border-radius: 50%; background: oklch(1 0 0 / .16);
  border: .5px solid oklch(1 0 0 / .28);
  color: oklch(.98 0 0); display: grid; place-items: center;
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background .22s ease, transform .22s ease;
}
.lightbox__close .ico,
.lightbox__nav .ico { width: 1.25em; height: 1.25em; }
.lightbox__close:hover,
.lightbox__nav:hover { background: oklch(1 0 0 / .3); }
.lightbox__close {
  top: max(20px, calc(20px + var(--safe-top)));
  left: max(24px, calc(24px + var(--safe-left)));
}
.lightbox__counter {
  position: fixed; z-index: 10;
  top: max(22px, calc(22px + var(--safe-top)));
  right: max(24px, calc(24px + var(--safe-right)));
  padding: 8px 16px;
  border-radius: 999px;
  background: oklch(1 0 0 / .14);
  border: .5px solid oklch(1 0 0 / .24);
  color: oklch(.98 0 0);
  font-size: .82rem; font-weight: 700;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.lightbox__nav--prev { top: 50%; right: max(24px, calc(24px + var(--safe-right))); transform: translateY(-50%); }
.lightbox__nav--next { top: 50%; left: max(24px, calc(24px + var(--safe-left))); transform: translateY(-50%); }
.lightbox__toolbar {
  position: fixed; z-index: 10;
  bottom: max(24px, calc(24px + var(--safe-bottom))); left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; padding: 8px;
  border-radius: 999px;
  background: oklch(1 0 0 / .14);
  border: .5px solid oklch(1 0 0 / .24);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.lightbox__tool {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 999px;
  background: transparent; border: 0;
  color: oklch(.98 0 0); font-size: .82rem; font-weight: 700;
  cursor: pointer; transition: background .2s;
  min-height: 40px; white-space: nowrap;
}
.lightbox__tool .ico { width: 1em; height: 1em; }
.lightbox__tool:hover { background: oklch(1 0 0 / .22); }

/* ---------- ۱۶. فرم‌ها ---------- */
.form-card {
  padding: 40px;
  border-radius: var(--glass-radius);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: .5px solid oklch(1 0 0 / .5);
  box-shadow: var(--shadow-glass);
}
.form-card > .section__title {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}
.form-row {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-bottom: 18px;
}
.form-row:last-child { margin-bottom: 0; }
.form-row--1 { grid-template-columns: minmax(0, 1fr); }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.form-group label {
  font-size: .82rem; font-weight: 700;
  color: var(--ink-soft); padding-inline-start: 4px;
}
.form-group label span { color: var(--coral); }
.form-control {
  padding: 13px 18px; border-radius: 16px;
  border: .5px solid oklch(1 0 0 / .55);
  background: oklch(1 0 0 / .35);
  font-size: .92rem; color: var(--ink);
  transition: border-color .25s, background .25s, box-shadow .25s;
  width: 100%;
  font-family: inherit;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  min-height: 48px;
}
.form-control::placeholder { color: var(--ink-muted); opacity: .7; }
.form-control:focus {
  outline: 0;
  border-color: oklch(.78 .10 290 / .6);
  background: oklch(1 0 0 / .55);
  box-shadow: 0 0 0 4px oklch(.78 .10 290 / .15);
}
textarea.form-control { min-height: 140px; resize: vertical; line-height: 1.9; }
.form-help { font-size: .75rem; color: var(--ink-muted); padding-inline-start: 4px; }
.volunteer-form .volunteer-validation,
.volunteer-form .volunteer-validation-summary {
  color: var(--coral);
  font-size: .78rem;
  line-height: 1.7;
}
.volunteer-form .volunteer-validation:empty,
.volunteer-form .volunteer-validation-summary.validation-summary-valid { display: none; }
.volunteer-form .volunteer-validation-summary ul { margin: 0; padding-inline-start: 20px; }
.volunteer-success {
  margin-bottom: 20px;
  padding: 16px 20px;
  border-radius: 16px;
  border: .5px solid oklch(.72 .12 145 / .35);
  background: oklch(.91 .05 145 / .24);
  color: var(--ink);
  font-weight: 700;
}

/* گروه انتخاب چندگانه (چیپ‌های کارتی) */
.chip-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
  padding: 0 !important;
}
.chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: oklch(1 0 0 / .5);
  border: 1.5px solid oklch(1 0 0 / .65);
  font-size: .84rem;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .25s var(--ease-out),
              border-color .25s var(--ease-out),
              color .25s var(--ease-out),
              transform .25s var(--ease-out),
              box-shadow .25s var(--ease-out);
  user-select: none;
  min-height: 48px;
  line-height: 1.35;
  -webkit-tap-highlight-color: transparent;
}
.chip:hover {
  background: oklch(1 0 0 / .7);
  border-color: oklch(.78 .10 290 / .4);
  transform: translateY(-1px);
}
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.chip::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 7px;
  border: 1.5px solid oklch(.78 .10 290 / .45);
  background-color: oklch(1 0 0 / .7);
  flex-shrink: 0;
  transition: border-color .25s var(--ease-out), background-color .25s var(--ease-out);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0 0;
}
.chip.is-checked {
  background: linear-gradient(135deg, oklch(.84 .13 45 / .4), oklch(.78 .10 290 / .3));
  border-color: oklch(.78 .10 290 / .55);
  color: var(--ink);
  box-shadow: 0 4px 14px oklch(.78 .10 290 / .18);
}
.chip.is-checked::before {
  border-color: transparent;
  background-color: var(--plum);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E"),
    linear-gradient(135deg, var(--coral), var(--plum));
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: 14px 14px, 100% 100%;
}

/* ---------- ۱۷. لیست‌های ویژه ---------- */
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px; border-radius: var(--glass-radius-xs);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: .5px solid oklch(1 0 0 / .5);
  box-shadow: var(--shadow-glass);
}
.feature-item__icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, oklch(.74 .10 185 / .35), oklch(.78 .10 290 / .25));
  color: var(--plum);
}
.feature-item__icon .ico { width: 1.35em; height: 1.35em; }
.feature-item__body { flex: 1; min-width: 0; }
.feature-item__title {
  font-size: .98rem; font-weight: 800; margin-bottom: 4px;
}
.feature-item__desc {
  font-size: .85rem; color: var(--ink-soft); line-height: 1.9;
}

/* ---------- ۱۸. اقلام اهدایی ---------- */
.needs-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.need-card {
  padding: 26px 22px; text-align: center;
  border-radius: var(--glass-radius-sm);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: .5px solid oklch(1 0 0 / .5);
  box-shadow: var(--shadow-glass);
  transition: transform .4s var(--spring);
  display: flex; flex-direction: column; align-items: center;
}
.need-card:hover { transform: translateY(-4px); }
.need-card__icon {
  width: 64px; height: 64px; margin-bottom: 14px;
  border-radius: 20px; display: grid; place-items: center;
  background: linear-gradient(135deg, oklch(.84 .13 45 / .4), oklch(.88 .12 75 / .3));
  color: var(--coral);
}
.need-card__icon .ico { width: 1.9em; height: 1.9em; }
.need-card__title { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.need-card__desc { font-size: .82rem; color: var(--ink-soft); line-height: 1.85; }
.need-card__badge {
  display: inline-block; margin-top: 12px;
  padding: 4px 12px; border-radius: 999px;
  font-size: .7rem; font-weight: 700;
  background: oklch(.80 .11 15 / .25); color: var(--coral);
  border: .5px solid oklch(.80 .11 15 / .35);
}
.need-card__badge--warning {
  background: oklch(.88 .12 75 / .3);
  color: oklch(.48 .11 75);
  border-color: oklch(.88 .12 75 / .5);
}
.needs-empty { margin-bottom: 0; text-align: center; }

/* ---------- ۱۹. اطلاعات تماس ---------- */
.contact-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.contact-card {
  padding: 28px 24px; text-align: center;
  border-radius: var(--glass-radius-sm);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: .5px solid oklch(1 0 0 / .5);
  box-shadow: var(--shadow-glass);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.contact-card__icon {
  width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 8px;
  background: linear-gradient(135deg, oklch(.84 .13 45 / .3), oklch(.74 .10 185 / .25));
  border: .5px solid oklch(1 0 0 / .5);
  color: var(--plum);
}
.contact-card__icon .ico { width: 1.35em; height: 1.35em; }
.contact-card__label {
  font-size: .8rem; color: var(--ink-muted);
  font-weight: 600;
}
.contact-card__value {
  font-size: 1.02rem; font-weight: 800; color: var(--ink);
  direction: ltr; unicode-bidi: embed;
}
.contact-card__value--fa { direction: rtl; unicode-bidi: normal; }

/* ---------- ۲۰. ساعت کاری ---------- */
.hours-list { display: flex; flex-direction: column; gap: 10px; }
.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; border-radius: 16px;
  background: oklch(1 0 0 / .35);
  border: .5px solid oklch(1 0 0 / .5);
  font-size: .9rem;
  gap: 12px;
}
.hours-row__day { font-weight: 700; color: var(--ink-soft); text-align: start; flex: 1; }
.hours-row__time { font-weight: 800; color: var(--plum); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- ۲۱. متن‌های محتوایی (ادیتوری) ----------
   هدف: راحتی خواندن متن‌های بلند
   – ریتم یکدست پاراگراف‌ها، تیترها و تصاویر
   – تیترهای پله‌ای با فاصلهٔ کافی از متن
   – تصاویر وسط‌چین، بزرگ و با گوشهٔ نرم
   ------------------------------------------------------ */
.prose {
  padding: clamp(22px, 3vw, 40px);
  border-radius: var(--glass-radius);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: .5px solid oklch(1 0 0 / .5);
  box-shadow: var(--shadow-glass);
  line-height: 2;
  font-size: 1.02rem;
  margin-bottom: 40px;
  width: 100%;
  text-wrap: pretty;
}

.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }

/* --- تیترها --- */
.prose h1, .prose h2, .prose h3, .prose h4 {
  margin-top: 1.9em;
  margin-bottom: .65em;
  font-weight: 800;
  line-height: 1.65;
  color: var(--ink);
}
.prose :is(h1, h2, h3, h4):first-child { margin-top: 0; }
.prose h1 { font-size: 1.55rem; }
.prose h2 { font-size: 1.3rem; }
.prose h3 { font-size: 1.1rem; }
.prose h4 { font-size: 1rem; }
.prose h5, .prose h6 { font-size: .95rem; font-weight: 800; }

/* --- پاراگراف‌ها --- */
.prose p {
  margin-bottom: 1.15em;
  color: oklch(.40 .04 290);
  line-height: 2.05;
}
.prose strong, .prose b { font-weight: 800; color: var(--ink); }

/* --- نقل‌قول --- */
.prose blockquote {
  border-inline-start: 4px solid var(--peach);
  padding: 18px 24px;
  margin: 1.7em 0;
  background: oklch(1 0 0 / .45);
  border-radius: 16px;
  color: var(--ink-soft);
  font-style: normal;
  line-height: 2;
}
.prose blockquote p:last-child { margin-bottom: 0; }

/* --- تصاویر وسط متن ---
   چیدمان تصویر (وسط / چپ / راست) در اختیار کاربر ادیتور است؛
   Jodit برای جای‌گذاری از استایل inline (float / margin) استفاده می‌کند.
   پیش‌فرض ما فقط وقتی اعمال می‌شود که کاربر تنظیمی نکرده باشد. */
.prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.8em auto;
  border-radius: 18px;
  box-shadow: 0 10px 30px oklch(.28 .05 290 / .13);
}

/* نجات تصاویری که با عرض صفر ثبت شده‌اند (باگ نسخهٔ قبلی ادیتور) */
.prose img[width="0px"],
.prose img[width="0"],
.prose img[style*="width: 0px"],
.prose img[style*="width:0px"] {
  width: auto !important;
  height: auto !important;
}

/* تصویر شناور (چپ/راست) که از پنجرهٔ تنظیمات تصویر ادیتور انتخاب شده */
.prose img[style*="float"],
.prose img[align="left"],
.prose img[align="right"] {
  display: inline-block;
  max-width: min(48%, 360px);
  margin-block: .25em 1em;
  vertical-align: top;
}

/* فاصلهٔ فیزیکی از متنی که کنار تصویر می‌پیچد (مستقل از RTL) */
.prose img[style*="float:left"],
.prose img[style*="float: left"],
.prose img[align="left"] {
  margin-left: 0;
  margin-right: 1.2em;
}

.prose img[style*="float:right"],
.prose img[style*="float: right"],
.prose img[align="right"] {
  margin-right: 0;
  margin-left: 1.2em;
}

.prose figure { margin: 1.8em auto; }
.prose figure img { margin: 0; }
.prose figure img[style*="float"] { margin: 0; }
.prose figcaption {
  margin-top: .7em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-align: center;
  line-height: 1.9;
}

/* در موبایل تصاویر شناور تمام‌عرض و وسط‌چین می‌شوند تا متن له نشود */
@media (max-width: 720px) {
  .prose img[style*="float"],
  .prose img[align="left"],
  .prose img[align="right"] {
    float: none !important;
    display: block;
    max-width: 100%;
    margin: 1.5em auto !important;
  }
}

/* --- پیوندها --- */
.prose a {
  color: var(--plum);
  font-weight: 700;
  border-bottom: 1px dashed currentColor;
  text-underline-offset: 4px;
  transition: border-color .2s, color .2s;
}
.prose a:hover { border-bottom-style: solid; }

/* --- کد --- */
.prose code {
  background: oklch(1 0 0 / .5); padding: 2px 8px;
  border-radius: 6px; font-family: ui-monospace, monospace;
  font-size: .88em; direction: ltr; display: inline-block;
  word-break: break-all;
}
.prose pre {
  overflow-x: auto;
  padding: 16px 18px;
  margin: 1.6em 0;
  border-radius: 14px;
  background: oklch(.28 .05 290 / .06);
  font-size: .85rem;
  direction: ltr;
  text-align: left;
}

/* --- جدول و رسانه‌های جاسازی‌شده --- */
.prose table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  margin: 1.6em 0;
  font-size: .88rem;
}
.prose th, .prose td {
  border: .5px solid oklch(.86 .02 300 / .9);
  padding: 10px 14px;
  text-align: start;
}
.prose th { background: oklch(1 0 0 / .55); font-weight: 800; }
.prose iframe, .prose video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 16px;
  margin: 1.6em 0;
}

/* --- جداکننده --- */
.prose hr {
  border: 0;
  height: 1px;
  margin: 2.4em 0;
  background: linear-gradient(90deg, transparent, oklch(.84 .03 300 / .85), transparent);
}

.prose ::selection { background: oklch(.84 .13 45 / .45); }

/* فهرست‌های محتوای مدیریت‌شده در سایت عمومی */
.about__rich :is(ul, ol),
.prose :is(ul, ol) {
  padding-inline-start: 1.5em;
  margin-bottom: 1.2em;
  color: var(--ink-soft);
}
.about__rich li,
.prose li { margin-bottom: .55em; }
.about__rich ul,
.prose ul {
  list-style: none;
  padding-inline-start: 1.65em;
}
.about__rich ul > li,
.prose ul > li { position: relative; }
.about__rich ul > li::before,
.prose ul > li::before {
  content: "";
  position: absolute;
  inset-inline-start: -1.1em;
  top: .78em;
  width: .48em;
  height: .48em;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--sky));
  box-shadow: 0 2px 6px oklch(.74 .10 185 / .28);
}
.about__rich ol > li::marker,
.prose ol > li::marker {
  color: var(--teal);
  font-weight: 800;
}

/* فایل‌های دانلودی */
.download-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.download-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; border-radius: 18px;
  background: oklch(1 0 0 / .4);
  border: .5px solid oklch(1 0 0 / .5);
  transition: all .25s;
}
.download-item:hover {
  background: oklch(1 0 0 / .55);
  transform: translateX(-4px);
}
.download-item__icon {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, oklch(.74 .10 185 / .35), oklch(.78 .10 290 / .25));
  color: var(--plum);
  flex-shrink: 0;
}
.download-item__icon .ico { width: 1.35em; height: 1.35em; }
.download-item__body { flex: 1; min-width: 0; }
.download-item__title { font-size: .95rem; font-weight: 800; }
.download-item__meta { font-size: .75rem; color: var(--ink-muted); font-weight: 600; }
.download-item__action {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 999px;
  background: oklch(1 0 0 / .5);
  border: .5px solid oklch(1 0 0 / .6);
  font-size: .78rem; font-weight: 700;
  color: var(--plum); transition: all .25s;
  white-space: nowrap;
  min-height: 40px;
}
.download-item:hover .download-item__action {
  background: linear-gradient(160deg, oklch(.84 .13 45 / .5), oklch(.80 .11 15 / .4));
  color: var(--ink);
}

/* ---------- ۲۲. استند و تاج گل ---------- */
.wreath-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Keep flower-stand cards to three columns on desktop, without changing other grids. */
.flower-stand-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .flower-stand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .flower-stand-grid { grid-template-columns: minmax(0, 1fr); }
}

.wreath-card {
  display: flex; flex-direction: column;
  border-radius: var(--glass-radius);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: .5px solid oklch(1 0 0 / .5);
  box-shadow: var(--shadow-glass);
  overflow: hidden;
  transition: transform .5s var(--spring);
}
.wreath-card:hover { transform: translateY(-6px); }
.wreath-card__media {
  aspect-ratio: 4 / 3; position: relative;
  background: linear-gradient(135deg, var(--rose), var(--lavender), var(--teal));
  overflow: hidden;
}
.wreath-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.wreath-card:hover .wreath-card__media img { transform: scale(1.07); }
.wreath-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.wreath-card__title { font-size: 1.05rem; font-weight: 800; }
.wreath-card__desc { font-size: .85rem; color: var(--ink-soft); line-height: 1.9; flex: 1; }
.wreath-card__price {
  font-size: 1.15rem; font-weight: 900; color: var(--plum);
  font-variant-numeric: tabular-nums;
}
.wreath-card__price small { font-size: .7rem; color: var(--ink-muted); font-weight: 600; margin-inline-start: 4px; }

/* ---------- ۲۳. مسیر پرداخت / استپ‌ها ---------- */
.steps {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  counter-reset: step;
  padding-top: 20px;
}
.step {
  position: relative;
  padding: 30px 22px 24px;
  border-radius: var(--glass-radius-sm);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: .5px solid oklch(1 0 0 / .5);
  box-shadow: var(--shadow-glass);
}
.step::before {
  counter-increment: step;
  content: counter(step, persian);
  position: absolute; top: -18px; right: 22px;
  width: 42px; height: 42px; border-radius: 14px;
  background: linear-gradient(135deg, var(--peach), var(--rose));
  color: oklch(.28 .05 290);
  display: grid; place-items: center;
  font-weight: 900; font-size: 1.05rem;
  box-shadow: 0 4px 12px oklch(.28 .05 290 / .18);
}
.step__title { font-size: .98rem; font-weight: 800; margin: 6px 0; }
.step__desc { font-size: .82rem; color: var(--ink-soft); line-height: 1.85; }

/* ---------- ۲۴. CTA پایانی ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 56px 40px; text-align: center;
  border-radius: 40px;
  background: linear-gradient(135deg, oklch(.84 .13 45 / .5), oklch(.80 .11 15 / .35), oklch(.78 .10 290 / .4));
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: .5px solid oklch(1 0 0 / .55);
  box-shadow: var(--shadow-glass);
  margin-bottom: 8px;
}
.cta::after {
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(circle at 30% 30%, oklch(1 0 0 / .35), transparent 45%);
  z-index: -1; filter: blur(40px);
}
.cta__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900; margin-bottom: 12px; text-wrap: balance;
}
.cta__desc {
  font-size: .95rem; color: var(--ink-soft);
  max-width: 620px; margin: 0 auto 24px;
  line-height: 1.95; text-wrap: pretty;
}

/* ---------- ۲۵. فوتر ---------- */
.footer {
  padding: 40px 32px;
  border-radius: var(--glass-radius);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: .5px solid oklch(1 0 0 / .5);
  box-shadow: var(--shadow-glass);
  margin-top: 40px;
}
.footer__grid {
  display: grid; gap: 32px;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  margin-bottom: 32px;
  text-align: right;
}
.footer__title {
  font-size: .95rem; font-weight: 800; margin-bottom: 14px;
  color: var(--ink);
}
.footer__text {
  font-size: .85rem; color: var(--ink-soft);
  line-height: 1.95;
}
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a {
  font-size: .85rem; color: var(--ink-soft);
  font-weight: 600; transition: color .2s;
  min-height: 32px; display: inline-flex; align-items: center;
}
.footer__links a:hover { color: var(--plum); }
.footer__contact-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .85rem; color: var(--ink-soft);
  margin-bottom: 10px; font-weight: 600;
}
.footer__contact-item > span:first-child {
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center;
  background: oklch(1 0 0 / .5);
  color: var(--plum); flex-shrink: 0;
}
.footer__contact-item .ico { width: 1em; height: 1em; }
.footer__bottom {
  padding-top: 24px;
  border-top: .5px solid oklch(1 0 0 / .5);
  text-align: center;
  font-size: .82rem; color: var(--ink-muted);
  font-weight: 600;
}
.footer__bottom a { color: var(--plum); font-weight: 700; }

/* ---------- ۲۶. اسکرول تاپ ---------- */
.scroll-top {
  position: fixed;
  bottom: max(24px, calc(24px + var(--safe-bottom)));
  left: max(24px, calc(24px + var(--safe-left)));
  z-index: 200;
  width: 52px; height: 52px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: .5px solid oklch(1 0 0 / .55);
  box-shadow: var(--shadow-glass);
  cursor: pointer; color: var(--plum);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all .35s var(--ease-out);
}
.scroll-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.scroll-top::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit;
  background: conic-gradient(
          from 180deg,
          oklch(.84 .13 45 / .25), oklch(.74 .10 185 / .20),
          oklch(.78 .10 290 / .25), oklch(.80 .11 15 / .20),
          oklch(.84 .13 45 / .25)
  );
  z-index: -1; filter: blur(10px); opacity: .7;
}
@media (hover: hover) {
  .scroll-top:hover { transform: translateY(-3px) scale(1.05); color: var(--coral); }
}
.scroll-top:active { transform: scale(.9); }

/* ---------- ۲۷. ذرات ---------- */
.particle {
  position: fixed; width: 6px; height: 6px;
  border-radius: 50%; pointer-events: none; z-index: 9999;
  will-change: transform, opacity;
}

/* ---------- ۲۸. Toast ---------- */
.toast {
  position: fixed;
  bottom: max(24px, calc(24px + var(--safe-bottom)));
  right: max(24px, calc(24px + var(--safe-right)));
  z-index: 999;
  padding: 14px 22px; border-radius: 16px;
  background: linear-gradient(135deg, oklch(.78 .08 155 / .95), oklch(.74 .10 185 / .95));
  color: oklch(.28 .05 290);
  font-size: .88rem; font-weight: 700;
  box-shadow: 0 12px 32px oklch(.28 .05 290 / .25);
  transform: translateY(20px); opacity: 0;
  transition: all .35s var(--spring);
  pointer-events: none;
  max-width: 320px;
  line-height: 1.6;
}
.toast.is-visible { transform: translateY(0); opacity: 1; }

/* ---------- ۲۹. انیمیشن‌ها ---------- */
@keyframes settle {
  0% { transform: scale(1); }
  30% { transform: scale(1.08); }
  60% { transform: scale(.96); }
  100% { transform: scale(1); }
}
.settle { animation: settle .5s var(--spring); }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fade-up .6s var(--ease-out) both; }

/* ---------- ۳۰. دسترس‌پذیری ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .blob { animation: none !important; }
}

/* ============================================================
   ۳۱. ریسپانسیو — تبلت و موبایل
   ============================================================ */
@media (max-width: 1000px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 40px 28px; border-radius: 32px; }
  .hero__visual { order: -1; aspect-ratio: 16 / 10; }
  .about { padding: 32px 24px; border-radius: 28px; }
  .about__visual { margin-bottom: 24px; aspect-ratio: 16 / 9; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 84px; }

  .page {
    padding-block: 0 60px;
    padding-inline: max(16px, calc(16px + var(--safe-left))) max(16px, calc(16px + var(--safe-right)));
  }

  /* --- تاپبار --- */
  .topbar {
    top: 8px;
    padding: 10px 14px;
    margin-bottom: 24px;
    border-radius: 22px;
    gap: 10px;
  }
  .topbar__logo { gap: 10px; flex: 1; min-width: 0; }
  .topbar__logo-img { width: 38px; height: 38px; border-radius: 12px; }
  .topbar__logo-text > span {
    font-size: .88rem;
    max-width: 100%;
  }
  .topbar__logo-text small {
    font-size: .58rem;
    max-width: 100%;
  }
  .topbar__nav { display: none; }
  .topbar__actions { flex-shrink: 0; }
  .topbar__actions .glass-btn {
    padding: 10px 16px; font-size: .78rem;
    display: none;
  }
  .topbar__burger { display: inline-flex; }

  /* --- هیرو اصلی --- */
  .hero {
    padding: 28px 20px;
    border-radius: 26px;
    gap: 22px;
    margin-bottom: 32px;
  }
  .hero__badge {
    font-size: .72rem;
    padding: 5px 14px;
    margin-bottom: 14px;
  }
  .hero__title {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
    line-height: 1.5;
    margin-bottom: 14px;
  }
  .hero__desc { font-size: .9rem; margin-bottom: 22px; line-height: 1.9; }
  .hero__actions { gap: 10px; width: 100%; }
  .hero__actions .glass-btn { flex: 1 1 100%; }
  .hero__visual { aspect-ratio: 16 / 10; border-radius: 20px; }

  /* --- هیروی صفحات داخلی --- */
  .page-hero {
    padding: 28px 20px;
    border-radius: 26px;
    margin-bottom: 28px;
  }
  .page-hero__breadcrumb {
    font-size: .72rem;
    padding: 5px 12px;
    margin-bottom: 12px;
  }
  .page-hero__title { font-size: clamp(1.25rem, 5.5vw, 1.7rem); line-height: 1.5; }
  .page-hero__desc { font-size: .87rem; line-height: 1.9; }
  .page-hero__meta { font-size: .74rem; gap: 10px; }

  /* --- سکشن‌ها --- */
  .section { margin-bottom: 40px; }
  .section__header { margin-bottom: 22px; }
  .section__title { font-size: clamp(1.15rem, 4.8vw, 1.5rem); }
  .section__subtitle { font-size: .88rem; }

  /* --- آمار --- */
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 40px;
  }
  .stat-card { padding: 18px 14px; border-radius: 20px; }
  .stat-card__number { font-size: 1.5rem; }
  .stat-card__label { font-size: .74rem; margin-top: 4px; }

  /* --- گریدها --- */
  .grid { gap: 14px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }

  /* --- کارت‌ها --- */
  .card { padding: 22px 20px; border-radius: 24px; }
  .card__icon { width: 48px; height: 48px; border-radius: 16px; margin-bottom: 14px; }
  .card__icon .ico { width: 1.4em; height: 1.4em; }
  .card__title { font-size: 1rem; }
  .card__desc { font-size: .85rem; line-height: 1.9; }

  /* --- درباره --- */
  .about {
    padding: 24px 18px;
    border-radius: 26px;
    gap: 20px;
    margin-bottom: 40px;
  }
  .about__content h2 { font-size: 1.15rem; }
  .about__content p { font-size: .85rem; line-height: 1.9; }
  .about__list li { font-size: .82rem; }

  /* --- اخبار --- */
  .news-list { gap: 12px; }
  .news-card {
    grid-template-columns: 1fr;
    padding: 20px 18px;
    gap: 14px;
    border-radius: 20px;
  }
  .news-card__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: var(--post-image-ratio);
    border-radius: 14px;
    order: -1;
  }
  .news-card__meta { font-size: .7rem; gap: 10px; }
  .news-card__title { font-size: .98rem; line-height: 1.6; }
  .news-card__excerpt { font-size: .82rem; line-height: 1.85; }
  .news-card__more { font-size: .8rem; }

  /* --- فرم --- */
  .form-card { padding: 24px 18px; border-radius: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
  .form-control { padding: 13px 16px; border-radius: 14px; }
  textarea.form-control { min-height: 120px; }
  .chip-group { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
  .chip { padding: 10px 12px; font-size: .8rem; min-height: 46px; }
  .form-card > .section__title { margin-bottom: 18px !important; }

  /* --- دکمه --- */
  .glass-btn { padding: 12px 22px; font-size: .88rem; }
  .glass-btn--lg { padding: 14px 26px; font-size: .94rem; }

  /* --- پروز --- */
  .prose {
    padding: 24px 20px;
    border-radius: 22px;
    margin-bottom: 28px;
    line-height: 1.95;
    font-size: 1rem;
  }
  .prose p { line-height: 2; }
  .prose img { border-radius: 16px; margin: 1.5em auto; }
  .prose h1 { font-size: 1.35rem; }
  .prose h2 { font-size: 1.15rem; }
  .prose h3 { font-size: 1rem; }
  .prose blockquote { padding: 10px 16px; }

  /* --- لیست دانلود --- */
  .download-item { padding: 14px 14px; gap: 12px; border-radius: 16px; }
  .download-item__icon { width: 40px; height: 40px; border-radius: 12px; }
  .download-item__title { font-size: .86rem; }
  .download-item__action { padding: 6px 12px; font-size: .72rem; }
  .download-item:hover { transform: none; }

  /* --- کارت‌های اعانه --- */
  .wreath-grid { gap: 16px; }
  .wreath-card__body { padding: 18px 18px 20px; }
  .wreath-card__title { font-size: .98rem; }
  .wreath-card__price { font-size: 1.05rem; }

  /* --- نیازها --- */
  .needs-grid { gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .need-card { padding: 22px 16px; border-radius: 20px; }
  .need-card__icon { width: 56px; height: 56px; border-radius: 18px; margin-bottom: 12px; }
  .need-card__title { font-size: .92rem; }

  /* --- تماس --- */
  .contact-grid { grid-template-columns: 1fr; gap: 12px; }
  .contact-card { padding: 22px 18px; border-radius: 20px; }
  .contact-card__value { font-size: .98rem; }

  /* --- ساعت کاری --- */
  .hours-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 16px;
  }

  /* --- کارت بانکی --- */
  .bank-card {
    min-height: 200px;
    padding: 22px 20px;
    border-radius: 20px;
  }
  .bank-card__chip { width: 38px; height: 28px; margin-bottom: 14px; }
  .bank-card__number {
    font-size: .98rem;
    letter-spacing: .08em;
    margin-bottom: 18px;
  }
  .bank-card__row {
    align-items: flex-end;
    gap: 12px;
  }
  .bank-card__copy { align-self: flex-end; }

  /* --- گرید کارت‌های بانکی --- */
  .bank-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }

  /* --- گالری --- */
  .gallery-grid { gap: 12px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

  /* --- لایت‌باکس --- */
  .lightbox {
    padding: max(68px, calc(68px + var(--safe-top))) max(16px, calc(16px + var(--safe-right))) max(144px, calc(144px + var(--safe-bottom))) max(16px, calc(16px + var(--safe-left)));
  }
  .lightbox__stage,
  .lightbox__img {
    max-width: 92vw;
    max-height: calc(100dvh - 212px);
  }
  .lightbox__close {
    top: max(12px, calc(12px + var(--safe-top)));
    left: max(12px, calc(12px + var(--safe-left)));
    width: 44px; height: 44px;
  }
  .lightbox__counter {
    top: max(14px, calc(14px + var(--safe-top)));
    right: max(12px, calc(12px + var(--safe-right)));
    padding: 6px 13px;
    font-size: .76rem;
  }
  .lightbox__nav--prev,
  .lightbox__nav--next {
    top: auto;
    bottom: max(84px, calc(84px + var(--safe-bottom)));
    transform: none;
    width: 44px; height: 44px;
  }
  .lightbox__nav--prev { right: max(12px, calc(12px + var(--safe-right))); }
  .lightbox__nav--next { left: max(12px, calc(12px + var(--safe-left))); }
  .lightbox__toolbar {
    width: calc(100% - 32px);
    max-width: 360px;
    justify-content: center;
  }
  .lightbox__tool { padding: 8px 12px; font-size: .74rem; flex: 1; justify-content: center; }

  /* --- استپ‌ها --- */
  .step { padding: 26px 18px 20px; border-radius: 20px; }
  .step::before { top: -16px; right: 18px; width: 38px; height: 38px; font-size: .95rem; }
  .step__title { font-size: .92rem; }
  .step__desc { font-size: .78rem; }

  /* --- CTA --- */
  .cta {
    padding: 36px 22px;
    border-radius: 28px;
    margin-bottom: 4px;
  }
  .cta__title { font-size: clamp(1.15rem, 5vw, 1.5rem); }
  .cta__desc { font-size: .87rem; margin-bottom: 20px; }

  /* --- فوتر --- */
  .footer { padding: 28px 20px; border-radius: 24px; margin-top: 28px; }
  .footer__grid { grid-template-columns: 1fr; gap: 22px; margin-bottom: 22px; }
  .footer__title { font-size: .9rem; margin-bottom: 10px; }
  .footer__text { font-size: .8rem; line-height: 1.9; }
  .footer__links a { font-size: .82rem; }
  .footer__contact-item { font-size: .82rem; }
  .footer__bottom { padding-top: 18px; font-size: .74rem; line-height: 1.9; }

  /* --- اسکرول تاپ --- */
  .scroll-top {
    bottom: max(16px, calc(16px + var(--safe-bottom)));
    left: max(16px, calc(16px + var(--safe-left)));
    width: 46px; height: 46px;
    border-radius: 15px;
  }

  /* --- Toast --- */
  .toast {
    bottom: max(16px, calc(16px + var(--safe-bottom)));
    right: max(16px, calc(16px + var(--safe-right)));
    left: max(16px, calc(16px + var(--safe-left)));
    max-width: none;
    font-size: .84rem;
  }

  /* --- منوی موبایل --- */
  .mobile-nav__links a { font-size: .95rem; padding: 13px 16px; min-height: 50px; }
}

@media (max-width: 480px) {
  .page { padding-inline: max(14px, calc(14px + var(--safe-left))) max(14px, calc(14px + var(--safe-right))); }

  .topbar { top: 6px; padding: 9px 12px; margin-bottom: 20px; gap: 8px; }
  .topbar__logo-img { width: 36px; height: 36px; border-radius: 11px; }
  .topbar__logo-text > span { font-size: .82rem; }
  .topbar__logo-text small { font-size: .54rem; }
  .topbar__burger { width: 40px; height: 40px; border-radius: 12px; }

  .hero { padding: 24px 16px; border-radius: 22px; margin-bottom: 28px; }
  .hero__badge { font-size: .68rem; padding: 4px 12px; }
  .hero__title { font-size: clamp(1.2rem, 7vw, 1.55rem); }
  .hero__desc { font-size: .86rem; }

  .page-hero { padding: 24px 16px; border-radius: 22px; margin-bottom: 24px; }
  .page-hero__title { font-size: clamp(1.15rem, 6vw, 1.5rem); }

  .section { margin-bottom: 32px; }

  .stats { gap: 8px; }
  .stat-card { padding: 16px 12px; border-radius: 18px; }
  .stat-card__number { font-size: 1.3rem; }
  .stat-card__label { font-size: .68rem; }

  .card { padding: 20px 16px; border-radius: 20px; }
  .card__title { font-size: .95rem; }

  .about { padding: 20px 16px; border-radius: 22px; }
  .about__content h2 { font-size: 1.05rem; }

  .news-card { padding: 18px 16px; border-radius: 18px; }

  .form-card { padding: 20px 16px; border-radius: 20px; }

  .prose { padding: 20px 16px; border-radius: 20px; }

  .bank-card { padding: 20px 16px; border-radius: 18px; }
  .bank-card__number { font-size: .88rem; letter-spacing: .06em; }
  .bank-card__name { font-size: .88rem; }
  .bank-cards { gap: 14px; }

  .contact-card { padding: 20px 16px; }
  .contact-card__value { font-size: .92rem; }

  .need-card { padding: 20px 14px; }

  .wreath-card__body { padding: 16px 16px 18px; }

  .cta { padding: 30px 18px; border-radius: 24px; }

  .footer { padding: 24px 16px; border-radius: 20px; }

  .section__head-row { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
}

@media (max-width: 360px) {
  .page { padding-inline: max(12px, calc(12px + var(--safe-left))) max(12px, calc(12px + var(--safe-right))); }

  .topbar { padding: 8px 10px; }
  .topbar__logo-img { width: 34px; height: 34px; }
  .topbar__logo-text > span { font-size: .78rem; }
  .topbar__logo-text small { display: none; }

  .hero { padding: 20px 14px; }
  .hero__title { font-size: clamp(1.1rem, 7.5vw, 1.4rem); }

  .stats { grid-template-columns: 1fr; }
  .stat-card__number { font-size: 1.35rem; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { aspect-ratio: 4 / 3; }

  .chip-group { grid-template-columns: 1fr; }
}

/* ============================================================
   ۳۲. اصلاحات و بهبودهای طراحی (Design Fixes)
   ============================================================ */

/* ---------- آیکون‌های SVG درون‌خطی ---------- */
.ico {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  vertical-align: -0.18em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  overflow: visible;
}
.ico--xs { width: .85em; height: .85em; }
.ico--sm { width: 1em;    height: 1em; }
.ico--md { width: 1.35em; height: 1.35em; }
.ico--lg { width: 1.6em;  height: 1.6em; }
.ico--xl { width: 2em;    height: 2em; }
.ico--fill { fill: currentColor; stroke: none; }

/* رفع هم‌پوشانی آخرین المان با فوتر */
.page > *:last-child { margin-bottom: 0 !important; }

/* ---------- محافظت از متن‌های بلند در موبایل ---------- */
.page-hero__title,
.hero__title,
.news-card__title,
.card__title,
.section__title,
.about__content h1,
.about__content h2,
.about__content h3,
.prose h1,
.prose h2,
.prose h3 {
  overflow-wrap: break-word;
  word-break: break-word;
}

.page-hero__desc,
.hero__desc,
.news-card__excerpt,
.card__desc,
.prose p,
.about__content p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ---------- جلوگیری از سرریز افقی به‌صورت کلی ---------- */
html, body { max-width: 100%; overflow-x: clip; }