/* بلاک کلی CTA */
.cta-block {
  margin: 40px auto;
  padding: 28px 24px;
  max-width: 720px;
  background-color: #fff;
  border: 2px solid #ff9800;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  text-align: center !important; /* وسط‌چین محتوا */
  position: relative;
  z-index: 10;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* تیتر داخل بلاک – وسط‌چین قطعی حتی در RTL */
.cta-block .cta-heading,
.cta-block h4.cta-heading {
  font-size: 24px;
  font-weight: 800;
  color: #1e3c72;
  margin: 0 auto 24px auto; /* فاصله مناسب از دکمه‌ها */
  padding: 0;
  border: none !important;
  display: block;
  text-align: center !important; /* اجبار وسط‌چین */
}

/* ردیف دکمه‌ها – وسط‌چین */
.cta-buttons {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: center;
  gap: 18px;
  margin-top: 0;
}

/* دکمه‌ها */
.cta-btn {
  display: inline-block !important;
  min-width: 160px;
  padding: 16px 24px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none !important;
  line-height: 1.4;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: none !important;
  cursor: pointer;
  visibility: visible !important;
  opacity: 1 !important;
  text-align: center !important;
}

/* CTA اول – رنگ‌های کلاسیک (آبی و نارنجی) */
.cta-1 .cta-btn.link-btn {
  background: linear-gradient(135deg, #1e3c72, #2a4d99);
  color: #fff !important;
}
.cta-1 .cta-btn.link-btn:hover {
  background: linear-gradient(135deg, #2a4d99, #1e3c72);
  transform: scale(1.05);
}

.cta-1 .cta-btn.phone-btn {
  background: linear-gradient(135deg, #ff9800, #e68900);
  color: #fff !important;
}
.cta-1 .cta-btn.phone-btn:hover {
  background: linear-gradient(135deg, #e68900, #ff9800);
  transform: scale(1.05);
}

/* CTA دوم – سبز و صورتی فانتزی و متفاوت */
.cta-2 .cta-btn.link-btn {
  background: linear-gradient(135deg, #43a047, #66bb6a); /* سبز تازه */
  color: #fff !important;
}
.cta-2 .cta-btn.link-btn:hover {
  background: linear-gradient(135deg, #2e7d32, #43a047);
  transform: scale(1.06);
}

.cta-2 .cta-btn.phone-btn {
  background: linear-gradient(135deg, #ff69b4, #e91e63); /* صورتی فانتزی */
  color: #fff !important;
}
.cta-2 .cta-btn.phone-btn:hover {
  background: linear-gradient(135deg, #e91e63, #ff69b4);
  transform: scale(1.06);
}

/* فوکوس برای دسترسی‌پذیری */
.cta-btn:focus-visible {
  outline: 2px solid #1e3c72;
  outline-offset: 2px;
}

/* ریسپانسیو کامل */
@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center; /* دکمه‌ها وسط‌چین در موبایل */
  }
  .cta-btn {
    width: 100%;
  }
}
