:root {
  --primary: #5d6af2;
  --primary-dark: #4a56d4;
  --ink: #1a1d26;
  --muted: #5c6370;
  --bg: #f6f7fb;
  --card: #ffffff;
  --radius: 20px;
  --shadow: 0 12px 40px rgba(93, 106, 242, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: IRANYekanX, Tahoma, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(93, 106, 242, 0.12);
}

.site-header__inner {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
}

.site-logo:hover {
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: rgba(93, 106, 242, 0.1);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}

.main-nav a {
  color: var(--ink);
  font-weight: 500;
  padding: 8px 4px;
}

.main-nav a:hover {
  color: var(--primary);
  text-decoration: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 12px 16px 16px;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .main-nav li:last-child {
    border-bottom: 0;
  }

  .main-nav a {
    display: block;
    padding: 12px 4px;
  }
}

.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-download .wrap.footer-download__inner {
  max-width: 1320px;
}

.footer-bar > .wrap {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

/* هیرو ساده: گوشی چپ، متن و CTA راست (با direction:ltr روی چیدمان) */
.hero--simple {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(32px, 4vw, 56px) 0 clamp(40px, 5vw, 72px);
  background-color: #f8f9fd;
  background-image: linear-gradient(168deg, #fefffe 0%, #f3f5fc 42%, #eceef8 100%);
}

.hero--simple::before {
  content: "";
  position: absolute;
  inset: -35% -20%;
  background:
    radial-gradient(ellipse 58% 48% at 18% 35%, rgba(20, 198, 145, 0.26) 0%, transparent 58%),
    radial-gradient(ellipse 52% 45% at 82% 65%, rgba(93, 106, 242, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 45% 38% at 55% 10%, rgba(255, 170, 100, 0.1) 0%, transparent 52%),
    radial-gradient(ellipse 35% 30% at 92% 18%, rgba(93, 106, 242, 0.1) 0%, transparent 50%);
  animation: heroSimpleBlob 20s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.hero--simple::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.65;
  background-image: radial-gradient(rgba(93, 106, 242, 0.07) 1.2px, transparent 1.2px),
    radial-gradient(rgba(20, 198, 145, 0.06) 1px, transparent 1px);
  background-size: 48px 48px, 72px 72px;
  background-position: 0 0, 24px 36px;
  animation: heroSimpleGrid 28s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.hero--simple > .wrap {
  position: relative;
  z-index: 1;
}

/* آیکن‌های تزئینی پشت هیرو (استخدام / رستوران / رزومه) */
.hero-simple__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-simple__float {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(93, 106, 242, 0.32);
  filter: drop-shadow(0 8px 20px rgba(93, 106, 242, 0.12));
  animation: heroFloatDeco 7s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-simple__float svg {
  display: block;
}

.hero-simple__float--2,
.hero-simple__float--5,
.hero-simple__float--8 {
  color: rgba(18, 170, 128, 0.34);
  filter: drop-shadow(0 8px 18px rgba(20, 198, 145, 0.12));
}

.hero-simple__float--food {
  color: rgba(206, 95, 48, 0.34);
  filter: drop-shadow(0 8px 18px rgba(220, 120, 70, 0.14));
}

.hero-simple__float--1 {
  top: 5%;
  left: 2%;
  animation-duration: 6.2s;
  animation-delay: -0.5s;
}

.hero-simple__float--2 {
  top: 16%;
  right: 4%;
  animation-duration: 7.8s;
  animation-delay: -1.2s;
}

.hero-simple__float--3 {
  bottom: 28%;
  left: 3%;
  animation-duration: 6.8s;
  animation-delay: -2s;
}

.hero-simple__float--4 {
  top: 36%;
  right: 10%;
  animation-duration: 8.2s;
  animation-delay: -0.8s;
}

.hero-simple__float--5 {
  bottom: 10%;
  right: 18%;
  animation-duration: 7s;
  animation-delay: -3s;
}

.hero-simple__float--6 {
  top: 52%;
  left: 6%;
  animation-duration: 6.5s;
  animation-delay: -1.6s;
}

.hero-simple__float--7 {
  bottom: 36%;
  right: 2%;
  animation-duration: 7.4s;
  animation-delay: -2.4s;
}

.hero-simple__float--8 {
  top: 68%;
  left: 14%;
  animation-duration: 8.5s;
  animation-delay: -0.3s;
}

.hero-simple__float--9 {
  top: 9%;
  left: 24%;
  animation-duration: 6.4s;
  animation-delay: -1.1s;
}

.hero-simple__float--10 {
  top: 5%;
  right: 22%;
  animation-duration: 7.2s;
  animation-delay: -2.2s;
  animation-direction: alternate-reverse;
}

.hero-simple__float--11 {
  bottom: 34%;
  left: 7%;
  animation-duration: 6.9s;
  animation-delay: -0.6s;
}

.hero-simple__float--12 {
  top: 58%;
  right: 26%;
  animation-duration: 8s;
  animation-delay: -1.8s;
  animation-direction: alternate-reverse;
}

.hero-simple__float--13 {
  bottom: 12%;
  left: 26%;
  animation-duration: 7.1s;
  animation-delay: -2.7s;
}

.hero-simple__float--14 {
  top: 40%;
  left: 46%;
  animation-duration: 6.3s;
  animation-delay: -0.9s;
}

.hero-simple__float--15 {
  bottom: 48%;
  right: 11%;
  animation-duration: 7.6s;
  animation-delay: -1.4s;
  animation-direction: alternate-reverse;
}

.hero-simple__float--16 {
  top: 26%;
  left: 11%;
  animation-duration: 8.3s;
  animation-delay: -3.1s;
}

@keyframes heroFloatDeco {
  0% {
    transform: translate3d(0, 0, 0) rotate(-7deg) scale(1);
  }
  100% {
    transform: translate3d(6px, -16px, 0) rotate(7deg) scale(1.04);
  }
}

@media (max-width: 900px) {
  .hero-simple__float--3,
  .hero-simple__float--6,
  .hero-simple__float--8,
  .hero-simple__float--14,
  .hero-simple__float--16 {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-simple__float--4,
  .hero-simple__float--7,
  .hero-simple__float--9,
  .hero-simple__float--11,
  .hero-simple__float--13,
  .hero-simple__float--15 {
    display: none;
  }

  .hero-simple__float svg {
    width: 32px !important;
    height: 32px !important;
  }
}

@keyframes heroSimpleBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(2%, -1.5%) scale(1.03) rotate(0.8deg);
  }
  100% {
    transform: translate(-1.5%, 2%) scale(1.02) rotate(-0.6deg);
  }
}

@keyframes heroSimpleGrid {
  0% {
    background-position: 0 0, 24px 36px;
  }
  100% {
    background-position: 48px 48px, 72px 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--simple::before,
  .hero--simple::after {
    animation: none;
  }

  .hero-simple__float {
    animation: none;
  }
}

.hero-simple__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  grid-template-rows: auto;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
  direction: ltr;
  min-width: 0;
}

.hero-simple__media {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}

.hero-simple__media img {
  width: 100%;
  max-width: min(520px, 100%);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 18px 36px rgba(35, 32, 63, 0.12));
}

.hero-simple__copy {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  min-width: 0;
  direction: rtl;
  text-align: right;
}

.hero-simple__title {
  margin: 0 0 16px;
  font-size: clamp(1.45rem, 3.2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.35;
  color: #23203f;
}

.hero-simple__accent {
  color: var(--primary);
}

.hero-simple__lead {
  margin: 0 0 22px;
  max-width: 36rem;
  color: #716f87;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.75;
}

.hero-simple__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  width: 100%;
  min-width: 0;
}

.hero-simple__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: 2px solid transparent;
  direction: rtl;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.hero-simple__ico {
  flex-shrink: 0;
}

.hero-simple__ico--img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.hero-simple__btn--primary .hero-simple__ico--img {
  filter: brightness(0) invert(1);
}

/* رنگ آیکن‌ها مثل دکمه‌های سفید فوتر؛ روی دکمهٔ بنفش هیرو سفید */
.hero-simple__ico--bazaar {
  color: #2ecc71;
}

.hero-simple__ico--globe {
  color: #5c6bc0;
}

.hero-simple__ico--android {
  color: #2ecc71;
}

.hero-simple__btn--primary .hero-simple__ico--bazaar,
.hero-simple__btn--primary .hero-simple__ico--globe,
.hero-simple__btn--primary .hero-simple__ico--android {
  color: #fff;
}

.hero-simple__btn--primary:hover .hero-simple__ico--bazaar,
.hero-simple__btn--primary:hover .hero-simple__ico--globe,
.hero-simple__btn--primary:hover .hero-simple__ico--android {
  color: #fff;
}

.hero-simple__btn--ghost:hover .hero-simple__ico--bazaar,
.hero-simple__btn--ghost:hover .hero-simple__ico--android {
  color: #22c55e;
}

.hero-simple__btn--ghost:hover .hero-simple__ico--globe {
  color: #4f5fc9;
}

.hero-simple__btn--primary {
  background: var(--primary);
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(93, 106, 242, 0.35);
}

.hero-simple__btn--primary:hover {
  background: var(--primary-dark);
  color: #fff !important;
}

.hero-simple__btn--ghost {
  background: #fff;
  color: var(--primary) !important;
  border-color: rgba(93, 106, 242, 0.4);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.hero-simple__btn--ghost:hover {
  border-color: var(--primary);
  background: rgba(93, 106, 242, 0.06);
  color: var(--primary-dark) !important;
}

@media (max-width: 900px) {
  .hero-simple__layout {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    text-align: center;
  }

  .hero-simple__media {
    grid-column: auto;
    grid-row: auto;
    order: -1;
  }

  .hero-simple__copy {
    grid-column: auto;
    grid-row: auto;
    align-self: stretch;
    order: -2;
    text-align: center;
  }

  .hero-simple__cta {
    justify-content: center;
  }

  .hero-simple__lead {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }
}

@media (min-width: 901px) {
  .hero--simple {
    padding-top: clamp(20px, 2.5vw, 36px);
  }

  /* دکمه‌ها تمام عرض ستون متن را پر کنند (کادر سبز) */
  .hero-simple__cta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 12px;
    width: 100%;
    max-width: 100%;
  }

  .hero-simple__cta .hero-simple__btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
    text-align: center;
    padding-inline: 10px;
    white-space: normal;
    line-height: 1.3;
  }
}

.section {
  padding: 56px 0;
}

.section--alt {
  background: #fff;
}

.section__title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 12px;
  font-weight: 800;
}

.section__lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--muted);
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .cards-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(93, 106, 242, 0.08);
}

.card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 18px;
  background: rgba(93, 106, 242, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

#employers .wrap {
  max-width: 1320px;
}

#employers .split {
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

#employers .split > div:last-child {
  min-width: 0;
}

#employers .section__title {
  line-height: 1.35;
}

#employers .employers-intro__title {
  text-align: right;
  margin: 0 0 8px;
}

#employers .employers-intro__lead {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 52ch;
}

#employers .panel-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  min-width: 0;
}

#employers .panel-shot img {
  width: 100%;
  max-width: min(1180px, 100%);
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
}

#employers .steps {
  gap: 28px;
}

#employers .step {
  gap: 20px;
  align-items: flex-start;
}

#employers .step h3 {
  line-height: 1.4;
}

#employers .step p {
  line-height: 1.7;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }

  /* «رستوک چگونه به کسب‌وکار شما کمک می‌کند؟»: تک‌ستونه (قانون #employers از .split قوی‌تر بود و دو ستونه می‌ماند) */
  #employers .split {
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 32px);
    align-items: stretch;
  }

  #employers .split > div:last-child {
    max-width: 100%;
  }

  #employers .employers-intro__title,
  #employers .employers-intro__lead {
    text-align: center;
  }

  #employers .employers-intro__lead {
    margin-left: auto;
    margin-right: auto;
    max-width: min(40rem, 100%);
  }

  #employers .steps {
    text-align: right;
  }

  #employers .split > .panel-shot {
    order: -1;
    justify-self: center;
    width: 100%;
    min-width: 0;
    max-width: min(560px, 100%);
    margin: 0 auto 16px;
  }

  #employers .panel-shot img {
    max-width: 100%;
  }

  #employers .step {
    justify-items: stretch;
  }

  #employers .step > div:last-child {
    min-width: 0;
  }
}

.panel-shot {
  border-radius: 24px;
  min-height: 0;
  background: #fff;
  border: 1px solid rgba(93, 106, 242, 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.step__num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7d88f5 0%, #5d6af2 55%, #4a56d4 100%);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(93, 106, 242, 0.35);
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.employees-grid {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 1.15fr) 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

.employees-grid__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding: 0 8px;
}

.employees-grid__visual img {
  width: 100%;
  max-width: min(440px, 100%);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 14px 32px rgba(35, 32, 63, 0.1));
}

.employees-grid--two-cols {
  grid-template-columns: 1fr 1fr;
  max-width: 920px;
  margin: 0 auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

@media (max-width: 900px) {
  .employees-grid {
    grid-template-columns: 1fr;
  }

  .employees-grid__visual {
    order: -1;
    padding: 8px 0 20px;
    max-width: 360px;
    margin: 0 auto;
  }

  /* «۴ قدم تا استخدام»: موبایل — دو کارت بالا زیر هم، عکس، دو کارت پایین زیر هم (تک‌ستونه) */
  #employees .employees-grid {
    grid-template-columns: 1fr;
    gap: clamp(16px, 3vw, 24px);
    align-items: stretch;
  }

  #employees .employees-grid > div:not(.employees-grid__visual) {
    display: flex;
    flex-direction: column;
    gap: 16px;
    grid-column: 1 / -1;
    min-width: 0;
  }

  #employees .employees-grid > div:not(.employees-grid__visual) .emp-card {
    margin-bottom: 0 !important;
  }

  #employees .employees-grid__visual {
    order: 0;
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: min(360px, 100%);
    padding: 4px 0 16px;
    margin: 0 auto;
  }

  .employees-grid--two-cols {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

.emp-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  text-align: right;
}

.emp-card--flip {
  direction: ltr;
}

.emp-card--flip > * {
  direction: rtl;
}

.blog-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .blog-preview {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
}

.blog-card__thumb {
  aspect-ratio: 1 / 1;
  background: #eef1ff;
  overflow: hidden;
}

.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__body {
  padding: 18px 20px 22px;
}

.blog-card time {
  font-size: 0.85rem;
  color: var(--muted);
}

.blog-card h3 {
  margin: 8px 0 0;
  font-size: 1.05rem;
  line-height: 1.45;
}

.faq details {
  background: var(--card);
  border-radius: 16px;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.faq .answer {
  padding: 16px 20px 20px;
  color: var(--muted);
}

/* بلوک دانلود — gradient و overlay مثل Elementor footer (post-50) */
.footer-download {
  position: relative;
  margin-top: 0;
  padding: 0;
  background: transparent;
  background-image: linear-gradient(-210deg, #14e2a4 0%, #14c691 100%);
  overflow: hidden;
}

.footer-download__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../wp-uploads/2019/05/footer-bg-min-1.png");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.75;
  pointer-events: none;
}

.footer-download__inner {
  position: relative;
  z-index: 1;
  padding: clamp(72px, 10vw, 120px) 20px clamp(56px, 8vw, 96px);
}

.download__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.footer-download__title {
  margin: 0 0 28px;
  font-size: clamp(1.35rem, 2.8vw, 2.65rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.04em;
  color: #fff;
  text-align: center;
}

.footer-download__subtitle {
  margin: 28px 0 12px;
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  text-align: center;
}

.footer-download__copy {
  text-align: center;
}

.footer-download__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
}

.footer-download__visual img {
  max-width: min(100%, 560px);
  width: 100%;
  height: auto;
}

.btn-row--download {
  justify-content: center;
  flex-wrap: wrap;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  color: #000 !important;
  text-decoration: none !important;
  background: #fff;
  box-shadow: 5px 10px 50px rgba(7, 119, 86, 0.25);
  border: none;
  direction: rtl;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-download__ico {
  flex-shrink: 0;
}

.btn-download__ico--img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
  transition: filter 0.2s ease;
}

.btn-download:hover .btn-download__ico--img {
  filter: brightness(0) invert(1);
}

.btn-download__ico--bazaar {
  color: #2ecc71;
}

.btn-download__ico--globe {
  color: #5c6bc0;
}

.btn-download__ico--android {
  color: #2ecc71;
}

.btn-download:hover .btn-download__ico--bazaar,
.btn-download:hover .btn-download__ico--globe,
.btn-download:hover .btn-download__ico--android {
  color: #fff;
}

.btn-download:hover {
  background: #5d6af2;
  color: #fff !important;
  box-shadow: 5px 14px 40px rgba(93, 106, 242, 0.45);
}

@media (max-width: 900px) {
  .download__grid {
    grid-template-columns: 1fr;
  }

  .footer-download__visual {
    order: -1;
  }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--primary);
  color: #fff !important;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(93, 106, 242, 0.35);
}

.btn:hover {
  background: var(--primary-dark);
}

.btn--ghost {
  background: #fff;
  color: var(--primary) !important;
  border: 2px solid rgba(93, 106, 242, 0.35);
  box-shadow: none;
}

.site-footer {
  margin-top: 0;
  padding: 0;
  background: transparent;
}

/* نوار پایین — آبی مثل post-50 (elementor-element-5b5802fb) */
.footer-bar {
  background-image: linear-gradient(-252deg, #1469eb 0%, #4d8af0 100%);
  padding: 28px 20px 36px;
}

.footer-bar .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  margin-bottom: 18px;
}

.footer-bar .footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
  font-size: 0.95rem;
}

.footer-bar .footer-links a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-bar .social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 16px 0;
}

.footer-bar .social a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  box-shadow: none;
}

.footer-bar .social a:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  text-decoration: none;
}

.footer-enamad {
  text-align: center;
  margin: 12px 0 8px;
}

.footer-enamad a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.footer-enamad a:hover {
  color: #fff;
}

.footer-bar .footer-copy {
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* صفحات وبلاگ / قوانین که فقط یک نوار ساده دارند */
.site-footer > .wrap {
  background-image: linear-gradient(-252deg, #1469eb 0%, #4d8af0 100%);
  padding: 28px 20px 32px;
  max-width: none;
}

.site-footer > .wrap .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
  margin-bottom: 12px;
}

.site-footer > .wrap .footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
}

.site-footer > .wrap .footer-links a:hover {
  color: #fff;
  text-decoration: none;
}

.site-footer > .wrap .footer-copy {
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.page-hero {
  padding: 100px 0 40px;
  background: linear-gradient(165deg, #eef1ff, #fff);
}

.page-hero h1 {
  margin: 0;
  font-size: 2rem;
}

.post-featured {
  margin: 24px auto 0;
  max-width: 720px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.post-featured img {
  width: 100%;
  height: auto;
  display: block;
}

.prose {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.prose h2:first-of-type {
  margin-top: 0;
}

.prose p {
  margin: 0 0 1rem;
  line-height: 1.9;
}

.prose ul {
  margin: 0 0 1.25rem;
  padding-inline-start: 1.35rem;
  line-height: 1.85;
  color: var(--muted);
}

.prose li + li {
  margin-top: 0.35rem;
}

.legal-page-lead {
  margin: 12px 0 0;
  max-width: 52ch;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.blog-grid-page {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 32px 0 64px;
}

.blog-grid-page article {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-grid-page .blog-card__thumb {
  aspect-ratio: 1 / 1;
}

.blog-grid-page .inner {
  padding: 16px 18px 20px;
}

.blog-grid-page h2 {
  margin: 0;
  font-size: 1.05rem;
}
