/* Modern site footer — JanebiPC (blue / slate / soft purple) */

.site-footer {
    --sf-bg: #0f172a;
    --sf-bg-2: #1e293b;
    --sf-surface: rgba(148, 163, 184, 0.08);
    --sf-line: rgba(148, 163, 184, 0.18);
    --sf-text: #e2e8f0;
    --sf-muted: #94a3b8;
    --sf-accent: #60a5fa;
    --sf-accent-2: #a78bfa;
    --sf-ink: #0f172a;
    margin-top: 28px;
    direction: rtl;
    text-align: right;
    color: var(--sf-text);
    background:
        radial-gradient(ellipse 70% 50% at 0% 0%, rgba(99, 102, 241, 0.18), transparent 55%),
        radial-gradient(ellipse 55% 45% at 100% 100%, rgba(37, 99, 235, 0.16), transparent 50%),
        linear-gradient(165deg, #1e293b 0%, #0f172a 55%, #0b1224 100%);
    font-family: iransans, yekan, sans-serif;
    overflow: hidden;
    position: relative;
}

.site-footer a {
    text-decoration: none !important;
}

/* Trust / highlights strip */
.sf-trust {
    border-bottom: 1px solid var(--sf-line);
    background: rgba(0, 0, 0, 0.18);
}

.sf-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 22px 0;
    direction: rtl;
}

.sf-trust-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--sf-surface);
    border: 1px solid var(--sf-line);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    text-align: right;
}

.sf-trust-item:hover {
    transform: translateY(-2px);
    background: rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.35);
}

.sf-trust-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.35), rgba(37, 99, 235, 0.12));
    color: #c4b5fd;
    font-size: 16px;
}

.sf-trust-text {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 13px;
    line-height: 1.55;
    color: var(--sf-text);
    font-family: yekan, iransans, sans-serif;
    text-align: right;
}

.sf-trust-text small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: var(--sf-muted);
    font-family: iransans, yekan, sans-serif;
}

/* Main columns — 3 cols after removing quick links */
.sf-main {
    padding: 36px 0 28px;
}

.sf-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr;
    gap: 28px 32px;
    align-items: start;
    direction: rtl;
}

.sf-brand-name {
    margin: 0 0 12px;
    font-family: yekan, iransans2, sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    letter-spacing: -0.02em;
    text-align: right;
}

.sf-brand-name span {
    background: linear-gradient(90deg, #93c5fd, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.sf-about {
    margin: 0;
    font-size: 13px;
    line-height: 1.9;
    color: var(--sf-muted);
    text-align: justify;
    text-align-last: right;
}

.sf-col-title {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--sf-line);
    font-family: yekan, iransans2, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    position: relative;
    text-align: right;
}

.sf-col-title::after {
    content: "";
    position: absolute;
    right: 0;
    left: auto;
    bottom: -1px;
    width: 36px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(270deg, #60a5fa, #8b5cf6, transparent);
}

.sf-partner-note {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.85;
    color: var(--sf-muted);
    text-align: justify;
    text-align-last: right;
}

.sf-partner-note strong {
    color: #c4b5fd;
    font-weight: 600;
}

.sf-partner-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.sf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 11px;
    font-family: yekan, iransans, sans-serif;
    font-size: 13px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.sf-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 55%, #7c3aed 100%);
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.28);
}

.sf-btn-primary:hover {
    transform: translateY(-1px);
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.35);
}

.sf-btn-ghost {
    background: transparent;
    border: 1px solid var(--sf-line);
    color: var(--sf-text) !important;
}

.sf-btn-ghost:hover {
    border-color: rgba(167, 139, 250, 0.55);
    color: #c4b5fd !important;
}

.sf-enamad {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.sf-enamad img {
    max-width: 72px;
    max-height: 100px;
    display: block;
}

/* Contact column */
.sf-contact-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sf-contact-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    text-align: right;
}

.sf-contact-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sf-surface);
    border: 1px solid var(--sf-line);
    color: #93c5fd;
    font-size: 14px;
}

.sf-contact-body {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 13px;
    line-height: 1.7;
    color: var(--sf-muted);
    text-align: right;
}

.sf-contact-body a {
    color: var(--sf-text);
    transition: color 0.2s ease;
}

.sf-contact-body a:hover {
    color: var(--sf-accent-2);
}

.sf-contact-label {
    display: block;
    font-size: 11px;
    color: var(--sf-muted);
    margin-bottom: 2px;
    font-family: iransans, yekan, sans-serif;
    text-align: right;
}

.sf-phones {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    justify-content: flex-start;
    direction: rtl;
}

.sf-phones a,
.sf-contact-body a[dir="ltr"] {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}

.sf-social {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 10px;
    margin-top: 4px;
    justify-content: flex-start;
    direction: rtl;
}

.sf-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sf-social a:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
    color: #fff !important;
}

.sf-social a i {
    line-height: 1;
}

.sf-social-telegram {
    background: linear-gradient(135deg, #38bdf8, #2563eb);
}

.sf-social-whatsapp {
    background: linear-gradient(135deg, #34d399, #0f766e);
}

.sf-social-instagram {
    background: linear-gradient(135deg, #a78bfa, #7c3aed 45%, #db2777);
}

/* Bottom bar */
.sf-bottom {
    border-top: 1px solid var(--sf-line);
    background: rgba(0, 0, 0, 0.28);
    padding: 16px 0;
}

.sf-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    direction: rtl;
    text-align: right;
    font-family: yekan, iransans, sans-serif;
    font-size: 13px;
    color: var(--sf-muted);
    line-height: 1.7;
}

.sf-bottom-inner strong,
.sf-bottom-inner a {
    color: #93c5fd;
    font-weight: 600;
}

.sf-bottom-inner a:hover {
    color: #c4b5fd;
}

@media screen and (max-width: 991px) {
    .sf-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 18px 0;
    }

    .sf-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 18px;
    }

    .sf-col-about {
        grid-column: 1 / -1;
    }

    .sf-main {
        padding: 28px 0 22px;
    }
}

@media screen and (max-width: 767px) {
    .site-footer {
        margin-top: 18px;
    }

    .sf-trust-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 14px 0;
    }

    .sf-trust-item {
        padding: 12px;
    }

    .sf-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .sf-col-about {
        grid-column: auto;
    }

    .sf-main {
        padding: 22px 0 18px;
    }

    .sf-brand-name,
    .sf-about,
    .sf-col-title,
    .sf-partner-note,
    .sf-contact-label,
    .sf-contact-body {
        text-align: center;
        text-align-last: center;
    }

    .sf-col-title::after {
        right: 50%;
        left: auto;
        transform: translateX(50%);
    }

    .sf-partner-actions {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .sf-enamad {
        margin: 0 auto;
        display: flex;
    }

    .sf-contact-list {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .sf-contact-item {
        justify-content: center;
        text-align: center;
    }

    .sf-phones,
    .sf-social {
        justify-content: center;
    }

    .sf-bottom-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        font-size: 12px;
    }
}
