/* ============================================================
   آتلیه کودک نینو — فوتر + CTA v7 (cta-footer-v7.css)
   تغییر نسبت به v6: CTA پس‌زمینه بژ روشن برای جدایی از مجله سفید
   ریتم رنگ صفحه: about بژ / galleries سفید / raves بژ / journal سفید / CTA بژ / footer مشکی
   ============================================================ */

/* ===== CTA — بژ روشن با جدایی واضح از مجله سفید ===== */
.cta-band {
  background: var(--beige-light);
  padding: 84px 24px;
  text-align: center;
  direction: rtl;
  border-top: 1px solid rgba(0,0,0,.06);
  position: relative;
}

/* خط تزئینی ظریف بالای CTA برای تاکید بیشتر روی جدایی */
.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--black);
  opacity: .10;
  border-radius: 99px;
}

.cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 400;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.4;
}

.cta-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(0,0,0,.58);
  margin-bottom: 30px;
  line-height: 1.9;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  padding: 15px 34px;
  border-radius: 999px;
  transition: opacity .2s ease, transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.cta-btn:hover { opacity: .88; transform: translateY(-1px); }
.cta-btn:active { transform: scale(.97); }

.cta-primary {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.cta-primary:hover { box-shadow: 0 12px 32px rgba(0,0,0,.18); }

.cta-secondary {
  background: var(--white);
  color: var(--black);
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.cta-secondary:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* موبایل: دکمه‌های CTA تمام‌عرض و عمودی */
@media (max-width: 768px) {
  .cta-band { padding: 64px 20px; }
  .cta-actions { flex-direction: column; gap: 12px; }
  .cta-actions .cta-btn { width: 100%; text-align: center; }
}

/* ===== فوتر ===== */
.site-footer {
  background: var(--black);
  color: var(--white);
  direction: rtl;
  padding-top: 8px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 40px 44px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.footer-col { text-align: right; }

/* ---------- ستون اول: برند ---------- */
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 17px;
  color: rgba(255,255,255,.85);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.footer-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 2;
  color: rgba(255,255,255,.62);
  max-width: 280px;
}

/* ---------- ستون دوم: دسترسی سریع ---------- */
.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,.9);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(255,255,255,.68);
  transition: color .2s ease, padding-right .2s ease;
}

.footer-links a:hover {
  color: var(--white);
  padding-right: 6px;
}

/* ---------- ستون سوم: ارتباط با ما ---------- */
.footer-socials {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.footer-socials a svg {
  width: 20px;
  height: 20px;
}

.footer-socials a:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.footer-telegram {
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: rgba(255,255,255,.7);
  line-height: 1.9;
}

.footer-telegram a {
  color: var(--white);
  font-weight: 500;
  transition: opacity .2s ease;
}

.footer-telegram a:hover { opacity: .8; }

/* ---------- نوار پایین ---------- */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 22px 40px 30px;
}

.footer-bottom .back-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 8px 20px;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.footer-bottom .back-top:hover {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}

.footer-bottom .copyright {
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
}

/* ===== موبایل ===== */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 44px 24px 38px;
    text-align: center;
  }
  .footer-col { text-align: center; }
  .footer-desc { margin: 0 auto; }
  .footer-links { align-items: center; }
  .footer-links a:hover { padding-right: 0; }
  .footer-socials { justify-content: center; }
  .footer-bottom { padding: 20px 20px 26px; }
}
