/* ========== فوتر ========== */
.footer-modern {
    background: var(--card-bg);
    border-top: 4px solid var(--primary);
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.03);
    margin-top: 40px;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 50px 24px 24px;
}

.benefits-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    background: var(--cream);
    border-radius: 48px;
    padding: 28px 24px;
    margin-bottom: 48px;
    border: 1px solid var(--border);
}

.benefit-item {
    flex: 1;
    min-width: 180px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: white;
    padding: 12px 20px;
    border-radius: 60px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 122, 0, 0.1);
}

.benefit-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.benefit-icon {
    background: var(--soft-orange);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 60px;
    color: var(--primary);
    font-size: 1.6rem;
}

.benefit-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.benefit-text p {
    font-size: 0.75rem;
    color: #6c757d;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr 1.4fr;
    gap: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-right: 12px;
    border-right: 3px solid var(--primary);
}

.brand-name {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.brand-name .orange {
    color: var(--primary);
}

.brand-name .dark {
    color: var(--text-dark);
}

.brand-tagline {
    color: #5d6f7e;
    font-size: 0.8rem;
    margin-bottom: 20px;
    padding-right: 12px;
    border-right: 2px solid var(--soft-orange);
}

.contact-info {
    margin-top: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.contact-item i {
    width: 20px;
    color: var(--primary);
    margin-top: 3px;
}

.address-detail {
    flex: 1;
}

.office-title {
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.footer-phone-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    direction: ltr;
    text-align: left;
}

.footer-phone-link {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
    direction: ltr;
    unicode-bidi: plaintext;
}

.footer-phone-link:hover {
    color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #4a5b6b;
    font-size: 0.85rem;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--primary);
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(-4px);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 28px;
}

.trust-item {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    background: var(--gray-light);
    border-radius: 16px;
    padding: 8px;
    transition: 0.2s;
    border: 1px solid var(--border);
}

.trust-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.trust-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

#zarinpal {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border-radius: 16px;
    border: 1px solid var(--border);
}

#zarinpal img {
    width: 60px;
    height: auto;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-links a {
    background: var(--soft-orange);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-dark);
    font-size: 1.3rem;
    transition: 0.2s;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 0.75rem;
    color: #7a8b9b;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.back-to-top {
    background: var(--cream);
    padding: 8px 18px;
    border-radius: 40px;
    text-decoration: none;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
}

.back-to-top:hover {
    background: var(--primary);
    color: white;
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 35px 20px 20px;
    }

    .benefits-row {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .copyright {
        flex-direction: column;
        text-align: center;
    }

    .trust-badges,
    .social-links {
        justify-content: center;
    }
}
