/* لندینگ Pazzel — پورت وفادار از landing-page React ZIP */
@font-face {
  font-family: Vazirmatn;
  src: url("/static/fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url("/static/fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: IRANSansXFaNum;
  src: url("/static/fonts/IRANSansXFaNum-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: IRANSansXFaNum;
  src: url("/static/fonts/IRANSansXFaNum-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Dana;
  src: url("/static/fonts/Dana-Regular.BxfZZuX5.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Dana;
  src: url("/static/fonts/Dana-ExtraBold.CMMSeU1I.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: YekanBakhFaNum;
  src: url("/static/fonts/YekanBakhFaNum-Regular.77bab7dd3c4d12a12a9d.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: YekanBakhFaNum;
  src: url("/static/fonts/YekanBakhFaNum-Bold.a8abae714a2d281dde07.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
:root {
  --bg: #0c0a09;
  --surface: #1c1410;
  --surface-hover: #2a1f18;
  --fg: #fafaf9;
  --muted: #a8a29e;
  --subtle: #78716c;
  --primary: #f97316;
  --primary-light: #fb923c;
  --primary-dark: #ea580c;
  --media: #e50914;
  --media-dark: #b20710;
  --ok: #4ade80;
  --wa: #25d366;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --font: "Vazirmatn", "IRANSans", Tahoma, system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body.ws-body {
  margin: 0; min-height: 100dvh;
  background: var(--bg); color: var(--fg);
  font-family: var(--font); line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Header */
.ws-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(12,10,9,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.ws-header-inner {
  max-width: 1200px; margin: 0 auto;
  height: 70px; padding: 0 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.ws-logo {
  display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0;
}
.ws-logo img {
  height: 42px; width: auto; border-radius: 4px; object-fit: contain;
}
.ws-logo-text {
  font-size: 1.25rem; font-weight: 800;
  background: linear-gradient(to left, var(--primary), var(--primary-dark));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.ws-logo-sub {
  display: none; font-size: 0.65rem; color: var(--muted); letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 600;
}
@media (min-width: 480px) {
  .ws-logo { flex-direction: row; align-items: center; }
  .ws-logo-stack { display: flex; flex-direction: column; line-height: 1.2; }
  .ws-logo-sub { display: block; }
}
.ws-nav {
  display: none; align-items: center; gap: 1.75rem;
}
@media (min-width: 768px) {
  .ws-nav { display: flex; }
}
.ws-nav a {
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
  transition: color .15s;
}
.ws-nav a:hover, .ws-nav a.active { color: var(--primary-light); }
.ws-nav-panel {
  border-radius: 999px;
  border: 1px solid rgba(249,115,22,0.4);
  background: rgba(249,115,22,0.15);
  padding: 0.5rem 1rem;
  font-size: 0.875rem; font-weight: 600; color: var(--primary-light);
  transition: background .15s, color .15s;
}
.ws-nav-panel:hover { background: var(--primary); color: var(--bg); }
.ws-burger {
  display: inline-flex; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--fg);
  z-index: 60;
  -webkit-tap-highlight-color: transparent;
}
.ws-burger i { font-size: 1.35rem; line-height: 1; }
@media (min-width: 768px) { .ws-burger { display: none; } }
.ws-mobile-nav {
  display: none; flex-direction: column; gap: 0.25rem;
  border-top: 1px solid var(--border); background: rgba(12,10,9,0.98);
  padding: 0.75rem 1.25rem 1.25rem;
}
.ws-mobile-nav.open,
.ws-header .ws-mobile-nav:not([hidden]) { display: flex; }
.ws-mobile-nav[hidden] { display: none !important; }
.ws-mobile-nav a {
  display: flex; align-items: center; min-height: 44px;
  padding: 0.5rem 0.25rem; font-weight: 600; color: var(--fg);
  border-bottom: 1px solid var(--border);
}
.ws-mobile-nav a:last-child { border-bottom: 0; }
.ws-mobile-nav a.panel { color: var(--primary-light); }

/* Hero */
.ws-hero {
  position: relative; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: 7rem 1.25rem 4rem; text-align: center;
}
.ws-hero-glow {
  pointer-events: none; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 20%, rgba(249,115,22,0.16), transparent 50%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(253,186,116,0.08), transparent 50%);
}
.ws-hero-inner { position: relative; max-width: 800px; margin: 0 auto; }
.ws-badge {
  display: inline-block; margin-bottom: 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(249,115,22,0.3);
  background: rgba(249,115,22,0.15);
  padding: 0.4rem 1rem;
  font-size: 0.875rem; font-weight: 600; color: var(--primary-light);
}
.ws-hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900; line-height: 1.25;
}
.ws-hero-title .grad {
  background: linear-gradient(to left, var(--primary), var(--primary-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ws-hero-en {
  margin: 0 0 0.5rem; font-size: 0.75rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--subtle); font-weight: 600;
}
.ws-hero-desc {
  margin: 0 auto 2.25rem; max-width: 36rem;
  font-size: 1.125rem; color: var(--muted);
}
.ws-cta-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
}
.ws-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; min-width: min(100%, 16rem);
  padding: 0.875rem 1.75rem;
  border-radius: 999px; font-weight: 600; font-size: 1rem;
  transition: filter .15s, background .15s, color .15s, border-color .15s;
}
@media (min-width: 640px) {
  .ws-btn { min-width: auto; width: auto; }
}
.ws-btn-media {
  background: var(--media); color: #fff;
  box-shadow: 0 4px 20px rgba(229,9,20,0.4);
}
.ws-btn-media:hover { filter: brightness(1.08); }
.ws-btn-primary {
  background: var(--primary); color: var(--bg);
  box-shadow: 0 4px 20px rgba(249,115,22,0.4);
}
.ws-btn-primary:hover { filter: brightness(1.06); }
.ws-btn-chat {
  border: 1px solid rgba(249,115,22,0.45);
  background: rgba(249,115,22,0.1);
  color: var(--primary-light); font-weight: 700;
}
.ws-btn-chat:hover { background: var(--primary); color: var(--bg); }

/* Sections */
.ws-section { padding: 5rem 1.25rem; }
.ws-section-narrow { max-width: 800px; margin: 0 auto; }
.ws-section-wide { max-width: 1200px; margin: 0 auto; }
.ws-section-head { text-align: center; margin-bottom: 3rem; }
.ws-section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800;
}
.ws-section-head p { margin: 0; color: var(--muted); }

/* Services accordion */
.ws-acc {
  display: flex; flex-direction: column; gap: 0.75rem;
}
.ws-acc-item {
  overflow: hidden; border-radius: var(--radius-md);
  border: 1px solid var(--border); background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}
.ws-acc-item.open {
  border-color: rgba(249,115,22,0.45);
  box-shadow: 0 8px 28px rgba(249,115,22,0.12);
}
.ws-acc-btn {
  display: flex; width: 100%; min-height: 56px;
  align-items: center; gap: 0.75rem;
  padding: 1rem 1.25rem; text-align: right; font-weight: 700;
}
.ws-acc-btn:hover { background: rgba(249,115,22,0.05); }
.ws-acc-icon {
  display: grid; place-items: center;
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(249,115,22,0.15); color: var(--primary-light);
  font-size: 1.1rem;
}
.ws-acc-chevron {
  margin-right: auto; color: var(--primary-light);
  transition: transform .2s; font-size: 0.9rem;
}
.ws-acc-item.open .ws-acc-chevron { transform: rotate(180deg); }
.ws-acc-body { display: none; padding: 0 1.25rem 1.25rem; }
.ws-acc-item.open .ws-acc-body { display: block; }
.ws-acc-body li {
  list-style: none; position: relative;
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 1rem 0.65rem 0;
  font-size: 0.9rem; color: var(--muted);
}
.ws-acc-body li:last-child { border-bottom: 0; }
.ws-acc-body li::before {
  content: "•"; position: absolute; right: 0; color: var(--primary);
}

/* Social */
.ws-social-band {
  background: linear-gradient(180deg, transparent, rgba(249,115,22,0.06), transparent);
}
.ws-channels {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem;
  justify-content: center;
}
@media (min-width: 640px) {
  .ws-channels {
    display: flex; flex-wrap: wrap; justify-content: center;
  }
}
.ws-channel {
  display: inline-flex; min-height: 48px;
  align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  padding: 0.75rem 1.25rem; font-weight: 600;
  transition: border-color .15s;
}
.ws-channel:hover { border-color: rgba(249,115,22,0.5); }
.ws-channel img { width: 22px; height: 22px; object-fit: contain; }

/* Contact teaser */
.ws-contact-card {
  overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--surface);
  max-width: 640px; margin: 0 auto;
}
.ws-contact-head {
  border-bottom: 1px solid var(--border); background: var(--bg);
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.ws-contact-avatar {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(249,115,22,0.15); color: var(--primary-light);
  font-size: 1.25rem;
}
.ws-contact-head strong { display: block; font-weight: 800; }
.ws-contact-head small { color: var(--ok); font-size: 0.75rem; }
.ws-contact-body { padding: 1.5rem 1.25rem; }
.ws-bubble {
  max-width: 85%; margin-bottom: 1rem;
  border-radius: var(--radius-md); border-top-right-radius: 4px;
  background: var(--bg); padding: 0.75rem 1rem;
  font-size: 0.9rem; color: var(--muted);
}
.ws-contact-note {
  text-align: center; font-size: 0.875rem; color: var(--muted); margin-bottom: 1rem;
}
.ws-contact-body .ws-btn { width: 100%; min-height: 52px; }

/* Footer */
.ws-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 1.25rem;
}
.ws-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  justify-content: space-between; gap: 1rem;
}
@media (min-width: 640px) {
  .ws-footer-inner { flex-direction: row; }
}
.ws-footer p { margin: 0; font-size: 0.875rem; color: var(--muted); }
.ws-footer a { font-size: 0.875rem; color: var(--muted); }
.ws-footer a:hover { color: var(--primary-light); }

/* Floating WhatsApp */
.ws-fab-wa {
  position: fixed;
  bottom: max(18px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  z-index: 40;
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--wa);
  box-shadow: 0 6px 25px rgba(37,211,102,0.45);
  transition: transform .15s;
}
.ws-fab-wa:hover { transform: scale(1.06); }
.ws-fab-wa img { width: 28px; height: 28px; }


.ws-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(to left, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ws-nav-link { font-size: 0.875rem; font-weight: 500; color: #a8a29e; }
.ws-nav-link:hover { color: #fafaf9; }
.ws-btn-block { width: 100%; min-height: 52px; font-size: 1rem; }
.ws-contact-name { margin: 0; font-weight: 800; }
.ws-contact-status { margin: 0; font-size: 0.75rem; color: #4ade80; }
.ws-acc-title { flex: 1; text-align: right; }

.hidden { display: none !important; }

/* ── Chat messenger ── */
body.chat-body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 70% 40% at 80% 0%, rgba(249,115,22,0.12), transparent 55%),
    var(--bg);
}
.ws-header.compact {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 64px;
  padding: 0 1rem;
  padding-top: env(safe-area-inset-top);
  height: calc(64px + env(safe-area-inset-top));
}
.ws-back {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  flex-shrink: 0;
}
.ws-brand { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.ws-brand-en { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); font-weight: 700; }
.ws-brand-fa { font-size: 1rem; font-weight: 800; }
.ws-status-dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(74,222,128,0.18);
  flex-shrink: 0;
}
.ws-status-dot.offline { background: #f87171; box-shadow: 0 0 0 4px rgba(248,113,113,0.18); }

.chat-gate {
  width: min(440px, calc(100% - 2rem));
  margin: auto;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, var(--surface), #15100d);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.chat-gate-avatar {
  display: grid; place-items: center;
  width: 64px; height: 64px; margin: 0 auto 1rem;
  border-radius: 999px;
  background: rgba(249,115,22,0.16);
  color: var(--primary-light);
  font-size: 1.6rem;
}
.chat-gate h2 { margin: 0 0 0.4rem; text-align: center; font-size: 1.35rem; font-weight: 800; }
.chat-gate p { margin: 0 0 1.25rem; text-align: center; color: var(--muted); font-size: 0.92rem; }
.chat-gate input, .chat-composer textarea, .chat-composer input[type="text"] {
  width: 100%;
  min-height: 48px;
  margin: 0 0 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--fg);
  font-family: inherit;
  font-size: 1rem;
}
.chat-gate input:focus, .chat-composer textarea:focus {
  outline: none;
  border-color: rgba(249,115,22,0.65);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.18);
}
.chat-gate .ws-btn { width: 100%; }

.chat-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
}
.chat-thread {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1rem 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  -webkit-overflow-scrolling: touch;
}
.bubble {
  max-width: 84%;
  padding: 0.7rem 0.9rem;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.65;
  word-break: break-word;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.bubble .meta {
  font-size: 0.7rem;
  opacity: 0.7;
  margin-bottom: 0.2rem;
  font-weight: 600;
}
.bubble.mine {
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom-right-radius: 6px;
}
.bubble.theirs, .bubble.operator {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #1c0f08;
  border-bottom-left-radius: 6px;
}
.bubble.sec {
  align-self: flex-end;
  background: rgba(56,189,248,0.14);
  border: 1px solid rgba(56,189,248,0.28);
  color: #e0f2fe;
  border-bottom-left-radius: 6px;
}
.bubble img.att {
  display: block;
  max-width: 220px;
  border-radius: 10px;
  margin-top: 0.4rem;
}
.chat-empty {
  margin: auto;
  text-align: center;
  color: var(--muted);
  max-width: 16rem;
  font-size: 0.92rem;
}

.chat-composer-wrap {
  position: sticky;
  bottom: 0;
  padding: 0.65rem 0.85rem calc(0.85rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, var(--bg) 28%);
}
.chat-composer {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  padding: 0.45rem;
  border-radius: 22px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
}
.chat-composer textarea {
  flex: 1;
  min-height: 44px;
  max-height: 140px;
  margin: 0;
  padding: 0.7rem 0.5rem;
  border: 0;
  background: transparent;
  resize: none;
  line-height: 1.45;
}
.icon-btn {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  color: var(--muted);
  flex-shrink: 0;
}
.icon-btn:hover, .icon-btn.active { color: var(--primary-light); background: rgba(249,115,22,0.12); }
.chat-composer .send {
  width: 44px; min-width: 44px; height: 44px; padding: 0;
  border-radius: 14px;
}
.print-flag {
  display: none;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  padding: 0 0.2rem 0.55rem 0;
}
@media (min-width: 640px) {
  .print-flag { display: inline-flex; }
}
.file-chip {
  display: none;
  align-items: center;
  gap: 0.4rem;
  margin: 0 1rem 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}
.file-chip.show { display: inline-flex; }
.file-chip button { color: #f87171; }
.emoji-panel {
  display: flex; flex-direction: column; flex-shrink: 0;
  height: 270px; padding: 0;
  margin: 0 0.5rem 0.25rem;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
}
.ep-tabs {
  display: flex; gap: 2px; flex-shrink: 0;
  padding: 0.3rem 0.4rem;
  border-bottom: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none;
}
.ep-tabs::-webkit-scrollbar { display: none; }
.ep-tab {
  flex: 0 0 auto; width: 36px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px; font-size: 1.15rem; line-height: 1;
  opacity: 0.55; cursor: pointer;
  transition: background .15s, opacity .15s;
}
.ep-tab:hover { opacity: 0.9; background: var(--surface-hover); }
.ep-tab.active { opacity: 1; background: rgba(249,115,22,0.18); }
.ep-body {
  position: relative; flex: 1; min-height: 0;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 0 0.4rem 0.5rem;
  -webkit-overflow-scrolling: touch;
}
.ep-title {
  position: sticky; top: 0; z-index: 1;
  padding: 0.45rem 0.3rem 0.25rem;
  font: 600 0.74rem var(--font); color: var(--muted);
  background: var(--surface);
}
.ep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 2px; }
.ep-item {
  height: 38px; display: grid; place-items: center;
  border-radius: 10px; font-size: 1.5rem; line-height: 1;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: background .12s, transform .08s;
}
.ep-item:hover { background: var(--surface-hover); }
.ep-item:active { transform: scale(1.2); background: rgba(249,115,22,0.18); }
.chat-toast {
  position: fixed;
  bottom: calc(88px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 70;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(249,115,22,0.4);
  color: #fff;
  font-size: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ── پس‌زمینه و تم قابل تنظیم از پنل (نسخه ۲) ── */
body.ws-body { position: relative; }
.ws-bg-image {
  position: fixed; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
}
.ws-bg-image.ws-bg-scroll { position: absolute; }   /* تصویر همراه صفحه اسکرول شود */
.ws-bg-overlay { position: fixed; inset: 0; z-index: -1; }
.ws-contact-card {
  background: var(--ws-card-bg, rgba(15, 23, 42, 0.72));
}
.ws-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.35rem 1rem;
  justify-content: center; margin-top: 0.5rem;
}
.ws-footer-links a { display: inline-flex; align-items: center; gap: 0.35rem; }
.ws-btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg);
}
.ws-btn-ghost:hover { border-color: var(--primary); color: var(--primary-light); }

/* ═══════════════════════════════════════════════════════════════
   بخش‌های جدید — کافی‌نت آنلاین غیرحضوری
   ═══════════════════════════════════════════════════════════════ */

/* ── متغیرهای تم روشن (Light) ── */
:root {
  --light-bg: #f8fafc;
  --light-surface: #ffffff;
  --light-border: #e2e8f0;
  --light-text: #1e293b;
  --light-muted: #64748b;
  --green-primary: #059669;
  --green-light: #d1fae5;
  --blue-primary: #2563eb;
  --blue-light: #dbeafe;
}

/* ── Hero بهبودیافته ── */
.ws-hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.ws-hero-stat { text-align: center; }
.ws-hero-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1.1;
}
.ws-hero-stat span { font-size: 0.8rem; color: var(--muted); }

/* ── کارت‌های خدمات (نسخه کارتی) ── */
.ws-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 0;
}
.ws-svc-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  cursor: default;
}
.ws-svc-card:hover {
  border-color: rgba(249,115,22,0.5);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(249,115,22,0.12);
}
.ws-svc-card-icon {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(249,115,22,0.15);
  color: var(--primary-light);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.ws-svc-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.ws-svc-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── چرا ما؟ ── */
.ws-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.ws-why-item {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.ws-why-item:hover {
  border-color: rgba(249,115,22,0.4);
  box-shadow: 0 8px 24px rgba(249,115,22,0.1);
}
.ws-why-icon {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 999px;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}
.ws-why-icon.green { background: rgba(5,150,105,0.15); color: #34d399; }
.ws-why-icon.blue  { background: rgba(37,99,235,0.15); color: #60a5fa; }
.ws-why-icon.orange{ background: rgba(249,115,22,0.15); color: var(--primary-light); }
.ws-why-icon.purple{ background: rgba(139,92,246,0.15); color: #a78bfa; }
.ws-why-icon.red   { background: rgba(239,68,68,0.15); color: #f87171; }
.ws-why-item h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
}
.ws-why-item p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── مراحل کار (Steps) ── */
.ws-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}
.ws-steps::before {
  content: '';
  position: absolute;
  top: 44px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: linear-gradient(to left, transparent, rgba(249,115,22,0.4), transparent);
  display: none;
}
@media (min-width: 640px) {
  .ws-steps::before { display: block; }
}
.ws-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}
.ws-step-num {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--bg);
  font-size: 1.3rem;
  font-weight: 900;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(249,115,22,0.4);
  position: relative;
  z-index: 1;
}
.ws-step h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
}
.ws-step p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── مقاله نمونه ── */
.ws-article-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
}
.ws-article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.75rem 0;
  flex-wrap: wrap;
}
.ws-article-meta .ws-badge { margin: 0; }
.ws-article-date { font-size: 0.8rem; color: var(--muted); }
.ws-article-card h2 {
  margin: 0.75rem 0 0;
  padding: 0 1.75rem;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 800;
  line-height: 1.4;
}
.ws-article-body {
  padding: 1.25rem 1.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.85;
}
.ws-article-body p { margin: 0 0 1rem; }
.ws-article-body p:last-child { margin-bottom: 0; }
.ws-article-more {
  padding: 0 1.75rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* ── تستیمونیال ── */
.ws-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.ws-testi-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem;
}
.ws-testi-stars {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}
.ws-testi-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.ws-testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ws-testi-avatar {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(249,115,22,0.2);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.ws-testi-name { font-weight: 700; font-size: 0.9rem; }
.ws-testi-role { font-size: 0.75rem; color: var(--muted); }

/* ── FAQ آکاردئون ── */
.ws-faq { display: flex; flex-direction: column; gap: 0.75rem; }
.ws-faq-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}
.ws-faq-q {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: right;
  gap: 0.75rem;
  min-height: 56px;
  transition: background .15s;
}
.ws-faq-q:hover { background: rgba(249,115,22,0.04); }
.ws-faq-q-text { flex: 1; }
.ws-faq-chevron {
  color: var(--primary-light);
  transition: transform .2s;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.ws-faq-item.open .ws-faq-chevron { transform: rotate(180deg); }
.ws-faq-a {
  display: none;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  border-top: 1px solid var(--border);
}
.ws-faq-item.open .ws-faq-a { display: block; }

/* ── فرم ثبت سفارش ── */
.ws-order-form-wrap {
  max-width: 640px;
  margin: 0 auto;
}
.ws-order-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem 1.75rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.ws-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 500px) {
  .ws-form-grid { grid-template-columns: 1fr; }
}
.ws-form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.ws-form-group.full { grid-column: 1 / -1; }
.ws-form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
}
.ws-form-group input,
.ws-form-group select,
.ws-form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--fg);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
}
.ws-form-group input:focus,
.ws-form-group select:focus,
.ws-form-group textarea:focus {
  outline: none;
  border-color: rgba(249,115,22,0.6);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}
.ws-form-group textarea { min-height: 110px; resize: vertical; }
.ws-form-group select { cursor: pointer; }
.ws-form-group .ws-file-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(249,115,22,0.4);
  background: rgba(249,115,22,0.06);
  color: var(--primary-light);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.ws-form-group .ws-file-label:hover { background: rgba(249,115,22,0.12); }
.ws-form-group input[type="file"] { display: none; }
.ws-form-submit-row { margin-top: 1.25rem; }
.ws-form-submit-row .ws-btn { width: 100%; min-height: 52px; font-size: 1rem; }
.ws-form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* ── فوتر کامل ── */
.ws-footer-full {
  border-top: 1px solid var(--border);
  padding: 3.5rem 1.25rem 1.5rem;
}
.ws-footer-full .ws-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
/* ستون‌های خاموش‌شده در پنل → چیدمان بدون جای خالی (فقط دسکتاپ) */
@media (min-width: 901px) {
  .ws-footer-full .ws-footer-grid.ws-fcols-3 { grid-template-columns: 2fr 1fr 1.2fr; }
  .ws-footer-full .ws-footer-grid.ws-fcols-2 { grid-template-columns: 2fr 1.2fr; }
  .ws-footer-full .ws-footer-grid.ws-fcols-1 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .ws-footer-full .ws-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .ws-footer-full .ws-footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.ws-footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--fg);
}
.ws-footer-col p { margin: 0 0 0.5rem; font-size: 0.875rem; color: var(--muted); line-height: 1.7; }
.ws-footer-col a { display: block; margin-bottom: 0.5rem; font-size: 0.875rem; color: var(--muted); transition: color .15s; }
.ws-footer-col a:hover { color: var(--primary-light); }
.ws-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.ws-footer-social a {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  margin: 0;
  transition: border-color .15s, background .15s;
}
.ws-footer-social a img { width: 18px; height: 18px; object-fit: contain; }
.ws-footer-social a:hover { border-color: rgba(249,115,22,0.5); background: rgba(249,115,22,0.1); }
.ws-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.ws-footer-bottom p { margin: 0; font-size: 0.8rem; color: var(--muted); }
.ws-enamad {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ws-enamad-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(5,150,105,0.4);
  background: rgba(5,150,105,0.1);
  font-size: 0.75rem;
  color: #34d399;
  font-weight: 600;
}

/* ── انیمیشن ورود هنگام اسکرول ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ws-anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.ws-anim.in-view {
  opacity: 1;
  transform: none;
}

/* ── نوار اعلان بالای هدر ── */
.ws-header > .ws-top-bar {
  background: var(--primary);
  color: var(--bg);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
  padding: calc(0.4rem + env(safe-area-inset-top)) 1rem 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ── دکمه ثبت سفارش در هدر ── */
.ws-nav-order {
  display: none;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--bg) !important;
  font-weight: 700;
  font-size: 0.85rem;
  transition: filter .15s;
  flex-shrink: 0;
}
.ws-nav-order:hover { filter: brightness(1.08); }
@media (min-width: 768px) { .ws-nav-order { display: inline-flex; } }

/* ── شماره تماس در هدر ── */
.ws-nav-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-light) !important;
  direction: ltr;
}
@media (min-width: 1024px) { .ws-nav-phone { display: inline-flex; } }

/* ── بنر مزایا ── */
.ws-highlight-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 1.25rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(249,115,22,0.06), transparent);
}
.ws-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}
.ws-highlight-item i { color: var(--primary-light); font-size: 1rem; }

/* ── Section با پس‌زمینه متفاوت ── */
.ws-section-alt {
  background: linear-gradient(180deg, rgba(249,115,22,0.04), transparent);
}
.ws-section-dark {
  background: linear-gradient(135deg, rgba(249,115,22,0.06), rgba(28,20,16,0.4));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}


/* ══ بخش‌های home جدید ══ */
.ws-order-chat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .ws-order-chat-grid { grid-template-columns: 1fr; }
}
/* ── کارت ویدیو رسانه — همه‌ی مقادیر از متغیرهای --mb-* می‌آیند (تنظیم‌شده از پنل)؛
      اگر متغیری تنظیم نشده باشد، همان ظاهر پیش‌فرض قبلی نمایش داده می‌شود ── */
.ws-media-banner {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--mb-bg, linear-gradient(135deg, rgba(229,9,20,0.12), rgba(249,115,22,0.08)));
  border: var(--mb-border-w, 1px) solid var(--mb-border-color, rgba(229,9,20,0.3));
  border-radius: var(--mb-radius, var(--radius-xl));
  padding: var(--mb-pad-y, 2.5rem) 2rem;
}
.ws-mb-bgimg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: var(--mb-bgimg-op, .4);
}
.ws-media-banner-text { flex: 1; position: relative; }
.ws-media-banner .ws-badge {
  color: var(--mb-badge-color, var(--media));
  border-color: var(--mb-badge-border, var(--mb-badge-color, var(--media)));
  background: var(--mb-badge-bg, rgba(249,115,22,0.15));
}
.ws-media-banner-text h2 {
  margin: .5rem 0; font-weight: 800;
  font-size: var(--mb-title-size, clamp(1.3rem,3vw,1.8rem));
  color: var(--mb-title-color, inherit);
}
.ws-media-banner-text p {
  margin-bottom: 1.25rem;
  color: var(--mb-desc-color, var(--muted));
  font-size: var(--mb-desc-size, inherit);
}
.ws-media-banner-icon {
  font-size: var(--mb-icon-size, 5rem);
  color: var(--mb-icon-color, var(--media));
  opacity: var(--mb-icon-op, .35);
  flex-shrink: 0; line-height: 1;
  display: none;
}
.ws-media-banner-icon img { display: block; width: var(--mb-icon-size, 5rem); height: var(--mb-icon-size, 5rem); object-fit: contain; }
@media (min-width: 640px) { .ws-media-banner-icon { display: block; } }
/* جای آیکون: چپ = حالت پیش‌فرض (در RTL آیکون سمت چپ) */
.ws-media-banner.ws-mb-icon-right { flex-direction: row-reverse; }
.ws-media-banner.ws-mb-icon-top,
.ws-media-banner.ws-mb-icon-bottom { flex-direction: column; text-align: center; justify-content: center; }
.ws-media-banner.ws-mb-icon-top { flex-direction: column-reverse; }
.ws-media-banner.ws-mb-icon-top .ws-media-banner-icon,
.ws-media-banner.ws-mb-icon-bottom .ws-media-banner-icon { display: block; }
.ws-media-banner.ws-mb-icon-none .ws-media-banner-icon { display: none !important; }
/* دکمه */
.ws-media-banner .ws-btn-media {
  background: var(--mb-btn-bg, var(--media));
  color: var(--mb-btn-color, #fff);
  border-radius: var(--mb-btn-radius, 999px);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--mb-btn-bg, var(--media)) 40%, transparent);
}
.ws-media-banner.ws-mb-btn-sm .ws-btn { min-height: 38px; padding: .5rem 1.15rem; font-size: .875rem; }
.ws-media-banner.ws-mb-btn-lg .ws-btn { min-height: 58px; padding: 1.05rem 2.4rem; font-size: 1.15rem; }

/* جلوگیری از پرش تصاویر: تا بارگذاری تصاویر زمینه/هیرو (حداکثر ~۳.۵ ثانیه) صفحه با محو نرم نمایش داده می‌شود */
body.ws-body { transition: opacity .45s ease; }

/* فاصله‌ی محتوا از هدر چسبان = ارتفاع واقعی هدر (توسط JS در --ws-header-h تنظیم می‌شود) */
body.ws-body { padding-top: var(--ws-header-h, 112px); }
html { scroll-padding-top: calc(var(--ws-header-h, 112px) + 8px); }

/* لوگوی آیکونی (وقتی لوگو در تنظیمات انتخاب نشده) */
.ws-logo-icon {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-size: 1.35rem;
}

/* ═══════════ چت زنده داخل صفحه‌ی اصلی (همان کامپوننت صفحه‌ی /website/chat) ═══════════ */
.ws-chatbox { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.ws-chatbox .ws-contact-head { padding: 1rem 1.25rem; }
.ws-chatbox .chat-gate {
  width: auto; margin: 0; padding: 1.1rem 1.25rem;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
  display: flex; flex-direction: column; gap: 0.65rem;
}
.ws-chatbox .chat-shell { max-width: none; margin: 0; }
.ws-chatbox .chat-thread { min-height: 190px; max-height: 300px; padding: 0.85rem 1rem 0.5rem; }
.ws-chatbox .chat-composer-wrap { position: static; background: none; padding: 0.5rem 0.75rem 0.75rem; }
.ws-chatbox .print-flag { display: inline-flex; padding-bottom: 0.5rem; }
.ws-chatbox .file-chip { margin: 0 0.75rem 0.35rem; }
.ws-chatbox .emoji-panel { height: 240px; margin: 0 0.5rem 0.25rem; }
.ws-chat-hint { margin: 0.1rem 0 0.25rem; font-size: 0.8rem; color: var(--muted); text-align: start; }
.ws-chat-off { padding: 1.25rem; color: var(--muted); font-size: 0.9rem; line-height: 1.8; }
.ws-chat-foot { padding: 0.5rem 1.25rem 1.25rem; margin-top: auto; }
.ws-chat-foot .ws-btn { width: 100%; justify-content: center; }

/* دکمه شناور گفتگو (روبروی دکمه واتساپ) */
.ws-fab-chat {
  position: fixed; z-index: 40;
  bottom: max(18px, env(safe-area-inset-bottom));
  right: max(16px, env(safe-area-inset-right));
  display: inline-flex; align-items: center; gap: 0.5rem;
  height: 52px; padding: 0 1.1rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-weight: 800; font-size: 0.9rem; text-decoration: none;
  box-shadow: 0 6px 25px rgba(249,115,22,0.45);
  transition: transform 0.15s;
}
.ws-fab-chat:hover { transform: scale(1.05); }
.ws-fab-chat i { font-size: 1.25rem; }
@media (max-width: 480px) { .ws-fab-chat span { display: none; } .ws-fab-chat { width: 56px; height: 56px; padding: 0; justify-content: center; } }

/* ── تصاویر مقاله (کاور و تصاویر داخل متن) ── */
.ws-article-cover { margin: 0; }
.ws-article-cover img { display: block; width: 100%; max-height: 380px; object-fit: cover; }
.ws-article-body p { white-space: pre-line; }
.ws-article-body::after { content: ""; display: block; clear: both; }
.ws-art-img { margin: 0.5rem 0 1.25rem; }
.ws-art-img img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); }
.ws-art-img figcaption { margin-top: 0.4rem; font-size: 0.82rem; color: var(--muted); text-align: center; }
.ws-art-full   { width: 100%; }
.ws-art-wide   { width: 88%; margin-inline: auto; }
.ws-art-medium { width: 62%; }
.ws-art-small  { width: 38%; }
.ws-art-center { margin-inline: auto; }
.ws-art-medium.ws-art-right, .ws-art-small.ws-art-right { float: right; margin: 0.25rem 0 1rem 1.25rem; }
.ws-art-medium.ws-art-left,  .ws-art-small.ws-art-left  { float: left;  margin: 0.25rem 1.25rem 1rem 0; }
@media (max-width: 640px) {
  .ws-art-wide, .ws-art-medium, .ws-art-small { width: 100%; float: none !important; margin-inline: 0 !important; }
}

/* ── دسته‌بندی خدمات: حالت‌های کارتی/تصویری + تصویر در آکاردئون ── */
.ws-acc-icon { overflow: hidden; }
.ws-acc-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ws-svc-card-list { list-style: none; margin: .25rem 0 0; padding: 0; }
.ws-svc-card-list li {
  position: relative; padding: .4rem 1rem .4rem 0;
  font-size: .85rem; color: var(--muted); border-bottom: 1px solid var(--border);
}
.ws-svc-card-list li:last-child { border-bottom: 0; }
.ws-svc-card-list li::before { content: "•"; position: absolute; right: 0; color: var(--primary); }
.ws-svc-card-media {
  aspect-ratio: 16 / 10; overflow: hidden;
  background: rgba(249,115,22,.1); border-radius: var(--radius-md); margin-bottom: 1rem;
}
.ws-svc-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.ws-svc-card:hover .ws-svc-card-media img { transform: scale(1.05); }
.ws-svc-card-media-icon { display: grid; place-items: center; font-size: 3rem; color: var(--primary-light); }
.ws-svc-images .ws-svc-card { padding: 0; overflow: hidden; }
.ws-svc-images .ws-svc-card-media { border-radius: 0; margin-bottom: 0; }
.ws-svc-images .ws-svc-card h3 { padding: 1rem 1.25rem 0; }
.ws-svc-images .ws-svc-card-list { padding: 0 1.25rem 1.25rem; }
.ws-svc-card-icon .lu, .ws-svc-card-icon .ti, .ws-acc-icon .lu, .ws-acc-icon .ti { line-height: 1; }
.ws-step-icon { font-size: 1.5rem; color: var(--primary-light); margin: .15rem 0 .4rem; line-height: 1; }
