/* کانتینر اصلی: دو ستون در دسکتاپ */
.cta-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* دو ستون مساوی */
  gap: 20px;
  max-width: 960px;
  margin: 30px auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* هر باکس */
.cta-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 24px 20px;
  text-align: center;
  box-sizing: border-box;
}

/* تیتر باکس */
.cta-card h3 {
  margin: 0 0 15px 0;
  padding: 0;
  border: none;              /* حذف خط زیر تیتر */
  color: #ff9800;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  direction: rtl;
}

/* دکمه‌ها */
.cta-btn {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 10px auto;
  padding: 12px 18px;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: 0.3s;
  box-sizing: border-box;
}

.cta-btn.insta    { background: #e1306c; }
.cta-btn.telegram { background: #0088cc; }
.cta-btn.phone    { background: #009688; direction: ltr; }

.cta-btn:hover { opacity: 0.9; }

/* موبایل: باکس‌ها زیر هم */
@media (max-width: 768px) {
  .cta-boxes {
    grid-template-columns: 1fr; /* یک ستون */
    gap: 16px;
    margin: 20px auto;
    padding: 0 12px;
  }

  .cta-card {
    padding: 20px 16px;
  }

  .cta-card h3 {
    font-size: 18px;
    white-space: normal;     /* اجازه شکست متن */
    border: none;            /* حذف خط در موبایل */
  }

  .cta-btn {
    max-width: 100%;
  }
}
/* حذف خط زیر تیترها */
.cta-card h3 {
  border: none !important;
  text-decoration: none !important;
}

/* حذف خط زیر لینک‌ها (شماره‌ها و دکمه‌ها) */
.cta-card a,
.cta-btn {
  border: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
/* تیتر باکس: همون رنگ قبلی بمونه */
.cta-card h3 {
  color: #ff9800;   /* یا هر رنگی که می‌خوای برای تیتر */
  margin: 0 0 15px 0;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  direction: rtl;
  border: none !important;
  text-decoration: none !important;
}

/* متن داخل کادر (شماره‌ها و دکمه‌ها) سفید */
.cta-card a,
.cta-btn {
  color: #fff !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: none !important;
}
