/* فوتر HRHS — تصویر محو + لایه شیشه‌ای */
.main-footer--compact {
    position: relative;
    margin-top: 56px;
    overflow: hidden;
    background-color: #6b6b6f;
}

.main-footer--compact::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    z-index: 4;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(var(--brand-primary-rgb, 251, 82, 13), 0.35) 15%,
        var(--brand-primary, #fb520d) 50%,
        rgba(var(--brand-primary-rgb, 251, 82, 13), 0.35) 85%,
        transparent 100%
    );
}

.main-footer--compact .main-footer__top {
    position: relative;
    isolation: isolate;
    padding-top: clamp(56px, 7vw, 76px);
    padding-bottom: clamp(48px, 6vw, 68px);
    background-color: #787880;
}

.main-footer--compact .main-footer__top::before {
    content: "";
    position: absolute;
    inset: -28px;
    z-index: 0;
    background: url("../images/footer-bg.jpg") center center / cover no-repeat;
    filter: blur(7px) saturate(1.12) contrast(1.05);
    transform: scale(1.05);
    opacity: 1;
}

.main-footer--compact .main-footer__top::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 70% 55% at 0% 100%, rgba(var(--brand-primary-rgb, 251, 82, 13), 0.1), transparent 55%),
        radial-gradient(ellipse 55% 45% at 100% 0%, rgba(255, 255, 255, 0.06), transparent 50%),
        linear-gradient(
            165deg,
            rgba(95, 95, 100, 0.52) 0%,
            rgba(118, 118, 124, 0.45) 42%,
            rgba(88, 88, 92, 0.58) 100%
        );
    backdrop-filter: blur(1px);
}

.main-footer--compact .main-footer__top > .container {
    position: relative;
    z-index: 2;
}

.main-footer--compact .main-footer__top > .container::before {
    content: "";
    position: absolute;
    inset: -20px;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 95%);
}

.main-footer--compact .main-footer__shape-one,
.main-footer--compact .main-footer__shape-two {
    display: none;
}

.main-footer--compact .footer-widget--about {
    padding: clamp(18px, 2.5vw, 24px);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.main-footer--compact .footer-widget__logo {
    margin-bottom: 14px;
}

.main-footer--compact .footer-widget__logo.site-logo img {
    height: 68px;
    width: auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.main-footer--compact .footer-widget__text {
    max-width: none;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.82);
}

.main-footer--compact .footer-widget__title {
    margin: 0 0 22px;
    padding-bottom: 14px;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.main-footer--compact .footer-widget__title::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-primary, #fb520d), #ff9a5c);
    box-shadow: 0 0 12px rgba(var(--brand-primary-rgb, 251, 82, 13), 0.45);
}

.main-footer--compact .footer-widget__links-two--compact li {
    position: relative;
    padding-right: 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.35s ease, transform 0.35s ease;
}

.main-footer--compact .footer-widget__links-two--compact li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-primary, #fb520d);
    box-shadow: 0 0 8px rgba(var(--brand-primary-rgb, 251, 82, 13), 0.5);
    transition: transform 0.35s ease;
}

.main-footer--compact .footer-widget__links-two--compact li + li {
    margin-top: 10px;
}

.main-footer--compact .footer-widget__links-two--compact li a {
    color: inherit;
    text-decoration: none;
    background: none;
    transition: color 0.35s ease;
}

.main-footer--compact .footer-widget__links-two--compact li:hover,
.main-footer--compact .footer-widget__links-two--compact li:hover a {
    color: #ffffff;
}

.main-footer--compact .footer-widget__links-two--compact li:hover {
    transform: translateX(-4px);
}

.main-footer--compact .footer-widget__links-two--compact li:hover::before {
    transform: scale(1.25);
}

.main-footer--compact .footer-widget__contact__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        transform 0.35s ease;
}

.main-footer--compact .footer-widget__contact__item + .footer-widget__contact__item {
    margin-top: 12px;
}

.main-footer--compact .footer-widget__contact__item:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(var(--brand-primary-rgb, 251, 82, 13), 0.35);
    transform: translateY(-2px);
}

.main-footer--compact .footer-widget__contact__item > i {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-top: 0;
    border-radius: 12px;
    font-size: 15px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand-primary, #fb520d), #ff7a3d);
    box-shadow: 0 8px 20px rgba(var(--brand-primary-rgb, 251, 82, 13), 0.35);
}

.main-footer--compact .footer-widget__contact__text {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.8);
}

.main-footer--compact .footer-widget__contact__text strong {
    color: #ffffff;
    font-weight: 700;
    margin-left: 4px;
}

.main-footer--compact .footer-widget__contact__text a {
    color: inherit;
}

.main-footer--compact .footer-widget__contact__text a:hover {
    color: #ffffff;
}

.main-footer--compact .main-footer__bottom {
    position: relative;
    z-index: 2;
    background: rgba(42, 42, 45, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.main-footer--compact .main-footer__bottom__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding: 20px 0;
}

.main-footer--compact .main-footer__copyright,
.main-footer--compact .main-footer__bottom__list li a,
.main-footer--compact .main-footer__bottom__list li span {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
}

.main-footer--compact .main-footer__bottom__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    margin: 0;
}

.main-footer--compact .main-footer__bottom__list li a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-footer--compact .main-footer__bottom__list li a:hover {
    color: var(--brand-primary, #fb520d);
}

@media (max-width: 767px) {
    .main-footer--compact .main-footer__top {
        padding-top: 48px;
        padding-bottom: 40px;
    }

    .main-footer--compact .main-footer__bottom__inner {
        flex-direction: column;
        text-align: center;
    }
}
