/* =====================================================================
   مهرابی خودرو — فوتر سایت v3
   ساختار: کارت بالایی (برند + تماس) ← سه کارت هم‌اندازه ← نوار پایین
   ===================================================================== */
.mkf-section { padding: 56px 0 0 !important; margin: 0 !important;
  background: radial-gradient(700px 320px at 100% 0%, rgba(255, 70, 5, .12), transparent 65%), linear-gradient(180deg, #11162a 0%, #0a0e1b 100%) !important; }
.mkf-section > .elementor-container { max-width: 1200px !important; padding-inline: 20px; }
.mkf-section .elementor-widget-wrap { padding: 0 !important; }
.mkf { color: #aab0c5; font-size: 14px; line-height: 1.9; }
.mkf a { text-decoration: none !important; transition: color .15s, background .15s, border-color .15s; }
.mkf ul { list-style: none; margin: 0 !important; padding: 0 !important; }
.mkf li { margin: 0 !important; padding: 0 !important; }
.mkf li::before, .mkf li::marker { content: none !important; display: none !important; }

/* shared card look */
.mkf-top, .mkf-card { background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); border-radius: 20px; }

/* --- top card: brand + contact --- */
.mkf-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 26px; position: relative; overflow: hidden; }
.mkf-top::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, #ff4605, #ffb36b 60%, transparent); }
.mkf-top__brand { display: flex; align-items: center; gap: 20px; min-width: 0; }
.mkf-logo { flex: 0 0 auto; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .1); }
.mkf-logo img { height: 40px; width: auto; display: block; }
.mkf-top__brand p { margin: 0 !important; color: #b8bdd0; font-size: 14px; line-height: 2; max-width: 430px; }
.mkf-top__contact { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.mkf-top__label { font-size: 12.5px; color: #8e94ab; white-space: nowrap; }
.mkf-call { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px; border-radius: 12px; background: linear-gradient(135deg, #ff7a2f, #ff4605); color: #fff !important; font-weight: 900; font-size: 17px; letter-spacing: .5px; box-shadow: 0 10px 24px -12px rgba(255, 70, 5, .9); white-space: nowrap; }
.mkf-call:hover { filter: brightness(1.06); }
.mkf-msgs { display: flex; gap: 6px; }
.mkf-msgs .mk-msg { width: 46px; height: 46px; padding: 0; justify-content: center; border-radius: 12px; background: rgba(255, 255, 255, .06) !important; border: 1px solid rgba(255, 255, 255, .1); color: #fff !important; font-size: 18px; }
.mkf-msgs .mk-msg svg { width: 18px; height: 18px; flex-basis: 18px; }
.mkf-msgs .mk-msg--wa:hover { background: #1fa855 !important; border-color: #1fa855; }
.mkf-msgs .mk-msg--bale:hover { background: #1aa79a !important; border-color: #1aa79a; }
.mkf-msgs .mk-msg--rubika:hover { background: #7c4ddb !important; border-color: #7c4ddb; }
.mkf-msgs .mk-msg--ig:hover { background: #d62976 !important; border-color: #d62976; }

/* --- three equal cards --- */
.mkf-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.mkf-card { padding: 20px 22px 18px; }
.mkf-card__title { display: flex; align-items: center; gap: 10px; color: #fff !important; font-size: 15.5px !important; font-weight: 900 !important; line-height: 1.5 !important; margin: 0 0 14px !important; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.mkf-card__title span { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 70, 5, .14); color: #ff8a5c; font-size: 14px; }
.mkf-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; }
.mkf-list a { display: flex; align-items: center; gap: 8px; color: #c3c8da !important; font-size: 14px; padding: 5px 0; }
.mkf-list a::before { content: ""; flex: 0 0 5px; height: 5px; border-radius: 50%; background: #3b4262; transition: background .15s; }
.mkf-list a:hover { color: #fff !important; }
.mkf-list a:hover::before { background: #ff4605; }
.mkf-regions li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0 !important; font-size: 13.5px; color: #b8bdd0; }
.mkf-regions a { color: #fff !important; font-weight: 800; font-size: 14px; background: rgba(255, 255, 255, .06); border-radius: 8px; padding: 2px 10px; white-space: nowrap; }
.mkf-regions a:hover { background: #ff4605; }
.mkf-meta { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 13.5px; }
.mkf-meta span, .mkf-meta a { display: flex; align-items: center; gap: 8px; color: #b8bdd0 !important; }
.mkf-meta a:hover { color: #fff !important; }
.mkf-meta i { width: 16px; color: #ff8a5c; }

/* --- bottom bar --- */
.mkf-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; margin-top: 26px; padding: 18px 0 22px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 12.5px; color: #7f859c; }
.mkf-bottom a { color: #ff8a5c !important; font-weight: 700; }
.mkf-bottom a:hover { color: #fff !important; }

/* 404 page (footer rendered by the theme template) */
.mkf-section--404 { margin-top: 0 !important; }
.mkf-section--404 .mkf-wrap { max-width: 1200px; margin: 0 auto; padding-inline: 20px; }

/* --- responsive --- */
@media (max-width: 1100px) {
  .mkf-top { flex-direction: column; align-items: stretch; }
  .mkf-top__contact { justify-content: flex-start; flex-wrap: wrap; }
}
@media (max-width: 1024px) { .mkf-cards { grid-template-columns: 1fr 1fr; } .mkf-cards .mkf-card:last-child { grid-column: 1 / -1; } }
@media (max-width: 767px) {
  .mkf-section { padding-top: 32px !important; }
  .mkf-top { padding: 20px 18px; gap: 16px; }
  .mkf-top__brand { flex-direction: column; align-items: flex-start; gap: 12px; }
  .mkf-logo { border: 0; padding: 0; }
  .mkf-top__contact { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .mkf-top__label { display: none; }
  .mkf-call { width: 100%; justify-content: center; height: 50px; }
  .mkf-msgs { display: grid; grid-template-columns: repeat(4, 1fr); }
  .mkf-msgs .mk-msg { width: 100%; }
  .mkf-cards { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
  .mkf-cards .mkf-card:last-child { grid-column: auto; }
  .mkf-bottom { justify-content: center; text-align: center; }
}
