/* ========================================
   OPR Footer
   Premium dark footer — RTL
   ======================================== */

.opr-footer {
    background-color: var(--opr-dark);
    color: var(--opr-white);
    direction: rtl;
}

/* ── Main Section ── */
.opr-footer__main {
    padding: var(--opr-space-2xl) 0 var(--opr-space-xl);
}

.opr-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--opr-space-xl);
}

/* ── Logo & About ── */
.opr-footer__logo {
    display: inline-block;
    margin-bottom: var(--opr-space-sm);
}

.opr-footer__logo img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}

.opr-footer__desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--opr-fs-sm);
    line-height: var(--opr-lh-loose);
    margin-bottom: var(--opr-space-md);
    max-width: 320px;
}

/* ── Social Links ── */
.opr-footer__social {
    display: flex;
    gap: 12px;
}

.opr-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    transition: background-color var(--opr-duration) var(--opr-ease),
                color var(--opr-duration) var(--opr-ease);
}

.opr-footer__social-link:hover,
.opr-footer__social-link:focus-visible {
    background: var(--opr-gold);
    color: var(--opr-white);
}

/* ── Column Headings ── */
.opr-footer__heading {
    font-size: var(--opr-fs-base);
    font-weight: var(--opr-fw-bold);
    color: var(--opr-white);
    margin-bottom: var(--opr-space-md);
    position: relative;
    padding-bottom: 12px;
}

.opr-footer__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 2px;
    background: var(--opr-gold);
}

/* ── Link Lists ── */
.opr-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.opr-footer__links li {
    margin-bottom: 10px;
}

.opr-footer__links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--opr-fs-sm);
    text-decoration: none;
    transition: color var(--opr-duration) var(--opr-ease),
                padding-right var(--opr-duration) var(--opr-ease);
}

.opr-footer__links a:hover,
.opr-footer__links a:focus-visible {
    color: var(--opr-gold);
    padding-right: 4px;
}

/* ── Contact Info ── */
.opr-footer__contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.opr-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--opr-fs-sm);
    line-height: var(--opr-lh-base);
}

.opr-footer__contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--opr-gold);
}

.opr-footer__contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--opr-duration) var(--opr-ease);
}

.opr-footer__contact a:hover,
.opr-footer__contact a:focus-visible {
    color: var(--opr-gold);
}

/* ═══════════════════════════════════════
   Bottom Bar
   ═══════════════════════════════════════ */

.opr-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--opr-space-md) 0;
}

.opr-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--opr-space-sm);
}

.opr-footer__copyright {
    font-size: var(--opr-fs-xs);
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.opr-footer__legal {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.opr-footer__legal a {
    font-size: var(--opr-fs-xs);
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color var(--opr-duration) var(--opr-ease);
}

.opr-footer__legal a:hover,
.opr-footer__legal a:focus-visible {
    color: var(--opr-gold);
}

.opr-footer__sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: var(--opr-fs-xs);
}

/* ═══════════════════════════════════════
   Responsive
   ═══════════════════════════════════════ */

@media (max-width: 1023px) {
    .opr-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--opr-space-lg);
    }

    .opr-footer__about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .opr-footer__main {
        padding: var(--opr-space-xl) 0 var(--opr-space-lg);
    }

    .opr-footer__grid {
        grid-template-columns: 1fr;
        gap: var(--opr-space-lg);
    }

    .opr-footer__desc {
        max-width: none;
    }

    .opr-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ── Print ── */
@media print {
    .opr-footer {
        background: #fff;
        color: #000;
        border-top: 1px solid #ccc;
    }

    .opr-footer__social,
    .opr-footer__legal {
        display: none;
    }
}
