.sf-footer {
    flex-shrink: 0;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(148, 163, 184, .3);
    font-family: 'Vazirmatn', Tahoma, 'Segoe UI', system-ui, sans-serif;
    position: relative;
    overflow: hidden;
}
.sf-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(80% 65% at 50% 0%, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 72%);
}
.sf-footer--dark {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    color: var(--fw-muted,#e5e7eb);
    border-top-color: rgba(255, 255, 255, .08);
}
.sf-footer--slate {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
    border-top-color: rgba(255, 255, 255, .08);
}
.sf-footer--light {
    background: linear-gradient(180deg, var(--fw-info-bg,#f8fafc) 0%, var(--fw-info-bg,#e2e8f0) 100%);
    color: var(--fw-text,#334155);
    border-top-color: var(--fw-info-border,#cbd5e1);
}
.sf-footer--light a { color: var(--fw-info,#2563eb); }
.sf-footer__inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 2rem 1rem 1.3rem;
    position: relative;
    z-index: 1;
}
.sf-footer__intro {
    font-size: .94rem;
    line-height: 1.85;
    color: inherit;
    opacity: .93;
    margin: 0 0 1.4rem;
    text-align: center;
    max-width: 72ch;
    margin-inline: auto;
}
.sf-footer__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.sf-footer__col {
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
}
.sf-footer--light .sf-footer__col {
    background: transparent;
    border-color: transparent;
}
.sf-footer__col--pad-none { padding: 0; }
.sf-footer__col--pad-sm { padding: .25rem .25rem; }
.sf-footer__col--pad-md { padding: .45rem .45rem; }
.sf-footer__col--pad-lg { padding: .7rem .7rem; }
.sf-footer__mods { display: grid; min-width: 0; }
.sf-footer__mods--gap-tight { gap: .45rem; }
.sf-footer__mods--gap-normal { gap: .95rem; }
.sf-footer__mods--gap-relaxed { gap: 1.45rem; }
.sf-footer__col-title {
    margin: 0 0 .85rem;
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .02em;
    color: inherit;
    opacity: .98;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}
.sf-footer__col-title::after {
    content: "";
    width: 1.25rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, currentColor, rgba(251, 191, 36, .85));
    opacity: .75;
}
.sf-footer--dark .sf-footer__col-title,
.sf-footer--slate .sf-footer__col-title { color: #f8fafc; text-shadow: 0 1px 8px rgba(15, 23, 42, .45); }
.sf-footer__text {
    margin: 0;
    font-size: .9rem;
    line-height: 1.82;
    opacity: .94;
    white-space: pre-line;
}
.sf-footer__text--ta-start { text-align: start; }
.sf-footer__text--ta-end { text-align: end; }
.sf-footer__text--ta-center { text-align: center; }
.sf-footer__text--ta-justify { text-align: justify; text-justify: inter-word; }
.sf-footer__text--fs-xs { font-size: .76rem; }
.sf-footer__text--fs-sm { font-size: .84rem; }
.sf-footer__text--fs-md { font-size: .92rem; }
.sf-footer__text--fs-lg { font-size: 1.02rem; }
.sf-footer__text--fw-normal { font-weight: 400; }
.sf-footer__text--fw-medium { font-weight: 500; }
.sf-footer__text--fw-semibold { font-weight: 600; }
.sf-footer__text--fw-bold { font-weight: 700; }
.sf-footer__text--italic { font-style: italic; }
.sf-footer__text--ff-sans { font-family: 'Vazirmatn', Tahoma, system-ui, sans-serif; }
.sf-footer__text--ff-serif { font-family: 'Vazirmatn', 'Amiri', 'Scheherazade New', Georgia, serif; }
.sf-footer__text--ff-mono { font-family: ui-monospace, Menlo, Consolas, monospace; }
.sf-footer__list { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.sf-footer__list li {
    position: relative;
    padding-inline-start: .95rem;
}
.sf-footer__list li::before {
    content: "•";
    position: absolute;
    inset-inline-start: .1rem;
    color: currentColor;
    opacity: .45;
}
.sf-footer__list a {
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed transparent;
    transition: color .16s ease, border-color .16s ease;
}
.sf-footer--dark .sf-footer__list a,
.sf-footer--slate .sf-footer__list a { color: var(--fw-muted,#e5e7eb); }
.sf-footer--dark .sf-footer__list a:hover,
.sf-footer--slate .sf-footer__list a:hover { color: var(--fw-warning,#fbbf24); }
.sf-footer__list a:hover { border-bottom-color: currentColor; opacity: .95; }
.sf-footer__contact {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .55rem;
    font-size: .85rem;
}
.sf-footer__contact li {
    display: flex;
    gap: .55rem;
    align-items: flex-start;
    line-height: 1.6;
    padding: .12rem 0;
    border-radius: 0;
    background: transparent;
}
.sf-footer--light .sf-footer__contact li {
    background: transparent;
}
.sf-footer__contact .ic {
    flex-shrink: 0;
    opacity: .9;
    width: 1.3rem;
    text-align: center;
}
.sf-footer__contact strong {
    font-weight: 800;
    margin-inline-end: .25rem;
    color: inherit;
}
.sf-footer__contact-values {
    margin: .2rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .18rem;
}
.sf-footer__contact-value {
    line-height: 1.62;
}
.sf-footer__contact-value + .sf-footer__contact-value {
    border-top: 1px dashed rgba(148, 163, 184, .28);
    padding-top: .18rem;
}
.sf-footer--dark .sf-footer__contact a,
.sf-footer--slate .sf-footer__contact a { color: var(--fw-muted,#e5e7eb); }
.sf-footer--dark .sf-footer__contact a:hover,
.sf-footer--slate .sf-footer__contact a:hover { color: var(--fw-warning,#fbbf24); }
.sf-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}
.sf-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem; height: 2.35rem;
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 4px 10px -8px rgba(2, 6, 23, .8);
    transition: background .16s ease, transform .12s ease, border-color .16s ease;
}
.sf-footer--light .sf-footer__social a {
    background: var(--fw-surface,#fff);
    border-color: var(--fw-info-border,#cbd5e1);
}
.sf-footer__social a:hover {
    background: rgba(255,255,255,.2);
    border-color: var(--fw-warning-border,rgba(251, 191, 36, .45));
    transform: translateY(-2px);
}
.sf-footer--light .sf-footer__social a:hover {
    background: var(--fw-info-bg,#f8fafc);
    border-color: var(--fw-info-border,#93c5fd);
}
.sf-footer__social svg { width: 1.1rem; height: 1.1rem; display: block; }
.sf-footer__social-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    margin-top: 1.35rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(148, 163, 184, .22);
}
.sf-footer--light .sf-footer__social-strip { border-top-color: var(--fw-info-border,#cbd5e1); }
.sf-footer__social-strip-title {
    margin: 0;
    font-size: .83rem;
    font-weight: 700;
    opacity: .95;
}
.sf-footer--dark .sf-footer__social svg,
.sf-footer--slate .sf-footer__social svg { fill: #e2e8f0; }
.sf-footer--light .sf-footer__social svg { fill: var(--fw-muted,#475569); }
.sf-footer__certs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .9rem;
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(148, 163, 184, .22);
}
.sf-footer__certs--inmod {
    margin-top: .35rem;
    margin-bottom: 0;
    padding: 0;
    border: 0;
    justify-content: center;
}
.sf-footer--light .sf-footer__certs { border-top-color: var(--fw-info-border,#cbd5e1); }
.sf-footer__certs a { display: block; line-height: 0; }
.sf-footer__certs img {
    max-height: 52px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: none;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, .24);
    background: var(--fw-surface,rgba(255, 255, 255, .72));
    padding: .3rem;
}
.sf-footer__enamad {
    display: flex;
    justify-content: center;
    line-height: 0;
}
.sf-footer__enamad a {
    display: inline-block;
    line-height: 0;
}
.sf-footer__enamad img {
    display: block;
    height: auto;
    width: auto;
    max-width: none;
    max-height: none;
    filter: none;
}
.sf-footer__trust-seals {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .75rem;
}
.sf-footer__trust-seal {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    padding: .35rem .5rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, .24);
    background: var(--fw-surface,rgba(255, 255, 255, .72));
    overflow: hidden;
}
.sf-footer__trust-seal #zarinpal {
    margin: 0;
    line-height: 0;
}
.sf-footer__trust-seal #zarinpal img {
    display: block;
    max-height: 52px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}
.sf-footer--dark .sf-footer__trust-seal,
.sf-footer--slate .sf-footer__trust-seal {
    background: var(--fw-surface,rgba(255, 255, 255, .92));
}
.sf-footer__bar {
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(148, 163, 184, .22);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1rem;
    font-size: .8rem;
}
.sf-footer--light .sf-footer__bar { border-top-color: var(--fw-info-border,#cbd5e1); }
.sf-footer__copyright { margin: 0; opacity: .9; font-weight: 600; }
.sf-footer__credit {
    margin: 0;
    width: 100%;
    text-align: center;
    font-size: .75rem;
    opacity: .78;
}
.sf-footer__credit a { color: inherit; font-weight: 800; text-decoration: none; }
.sf-footer__credit a:hover { opacity: 1; text-decoration: underline; }
.sf-footer__bar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: .65rem .85rem;
}
.sf-footer--dark .sf-footer__copyright,
.sf-footer--slate .sf-footer__copyright { color: #cbd5e1; }
.sf-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.sf-footer__legal a {
    font-weight: 700;
    font-size: .78rem;
    text-decoration: none;
    border: 0;
    border-radius: 0;
    padding: .1rem .1rem;
    display: inline-flex;
    align-items: center;
    transition: all .16s ease;
    border-bottom: 1px dashed transparent;
}
.sf-footer--dark .sf-footer__legal a,
.sf-footer--slate .sf-footer__legal a { color: #dbeafe; }
.sf-footer--dark .sf-footer__legal a:hover,
.sf-footer--slate .sf-footer__legal a:hover {
    color: var(--fw-warning,#fbbf24);
    border-bottom-color: var(--fw-warning-border,rgba(251, 191, 36, .55));
}
.sf-footer__legal a:hover {
    border-bottom-color: var(--fw-warning-border,rgba(251, 191, 36, .55));
}
.sf-footer__rss {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .35);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.sf-footer__rss svg {
    width: 1rem;
    height: 1rem;
    display: block;
    flex-shrink: 0;
}
.sf-footer--dark .sf-footer__rss,
.sf-footer--slate .sf-footer__rss {
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, .35);
}
.sf-footer--dark .sf-footer__rss svg,
.sf-footer--slate .sf-footer__rss svg { fill: var(--fw-warning,#fbbf24); }
.sf-footer--dark .sf-footer__rss:hover,
.sf-footer--slate .sf-footer__rss:hover {
    color: #fff;
    border-color: var(--fw-warning-border,rgba(251, 191, 36, .55));
    background: rgba(251, 191, 36, .08);
}
.sf-footer--light .sf-footer__rss {
    color: var(--fw-text,#334155);
    border-color: var(--fw-info-border,#cbd5e1);
}
.sf-footer--light .sf-footer__rss svg { fill: var(--fw-warning,#ea580c); }
.sf-footer--light .sf-footer__rss:hover {
    color: var(--fw-info,#0f172a);
    border-color: var(--fw-warning-border,#fdba74);
    background: var(--fw-warning-bg,#fff7ed);
}
.sf-footer--light .sf-footer__legal a:hover {
    border-bottom-color: var(--fw-info-border,#93c5fd);
}
@media (max-width: 920px) {
    .sf-footer__grid { grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); }
}
@media (max-width: 640px) {
    .sf-footer {
        margin-top: 2rem;
    }
    .sf-footer__inner {
        padding: 1.6rem .85rem 1.15rem;
    }
    .sf-footer__bar {
        flex-direction: column;
        text-align: center;
    }
    .sf-footer__bar-actions {
        justify-content: center;
    }
    .sf-footer__legal {
        justify-content: center;
    }
    .sf-footer__col--pad-sm,
    .sf-footer__col--pad-md,
    .sf-footer__col--pad-lg {
        padding: .5rem .35rem;
    }
}
