/* =====================================================
   تم مشترک هیئت المهدی (عج)
   - فونت سنگین و باوقار: تیترها «Markazi Text»، متن «Noto Naskh Arabic»
   - فوتر جدید سایت
   برای عوض‌کردن فونت‌ها فقط دو متغیر بالای این فایل را تغییر بده.
===================================================== */
:root {
    --hm-font-title: "Markazi Text", "Noto Naskh Arabic", "Vazirmatn", serif;
    --hm-font-body: "Noto Naskh Arabic", "Vazirmatn", "Tahoma", serif;
}

body,
body * {
    font-family: var(--hm-font-body);
}

body {
    font-weight: 600;
    line-height: 1.95;
}

body h1,
body h2,
body h3,
body h4,
body .logo-text h2,
body .section-title h2,
body .hero-card h2,
body .hm-footer h4,
body .hm-brand-name {
    font-family: var(--hm-font-title);
    font-weight: 700;
    letter-spacing: 0;
}

body button,
body input,
body select,
body textarea,
body .event-link,
body .login-btn,
body .register-btn {
    font-family: var(--hm-font-body);
    font-weight: 700;
}

/* =====================================================
   فوتر
===================================================== */
.hm-footer {
    position: relative;
    margin-top: 60px;
    background: linear-gradient(180deg, #08201a 0%, #041510 100%);
    color: #d9efe7;
    border-top: 1px solid rgba(110, 231, 183, 0.25);
    direction: rtl;
    text-align: right;
}

.hm-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px;
}

.hm-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 38px;
    padding: 38px 0 30px;
}

.hm-brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.hm-brand-name {
    font-size: 1.55rem;
    line-height: 1.5;
    color: #fff;
}

.hm-footer-text {
    margin: 0;
    max-width: 44ch;
    color: #b6d3c8;
    font-size: 0.95rem;
}

.hm-footer h4 {
    margin: 0 0 14px;
    font-size: 1.35rem;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.hm-footer h4::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 38px;
    height: 2px;
    background: #d4af37;
}

.hm-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hm-footer ul a,
.hm-support a {
    color: #d9efe7;
    transition: color 0.2s ease, padding 0.2s ease;
}

.hm-footer ul a:hover,
.hm-support a:hover {
    color: #6ee7b7;
}

.hm-footer ul a:hover {
    padding-right: 6px;
}

.hm-support {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hm-support .hm-support-label {
    color: #b6d3c8;
    font-size: 0.9rem;
}

.hm-support a[data-support-phone] {
    direction: ltr;
    text-align: right;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #f3e6b8;
}

.hm-footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.hm-footer-socials a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #d9efe7;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hm-footer-socials a:hover {
    background: rgba(110, 231, 183, 0.2);
    transform: translateY(-3px);
}

.hm-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    padding: 18px 0 24px;
    text-align: center;
    font-size: 0.92rem;
    line-height: 2;
    color: #a9c8bb;
}

@media (max-width: 860px) {
    .hm-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
