/* =========================================
   AHANJAN | PREMIUM FOOTER
   Navy:   #101D35
   Orange: #F7941D
========================================= */

.main-footer {
    --footer-navy: #101D35;
    --footer-orange: #F7941D;
    --footer-text: #AEB9C9;
    --footer-muted: #78869A;

    position: relative;
    width: 100%;
    margin-top: 100px;
    color: #fff;
    background:
        radial-gradient(ellipse at 85% 0%, rgba(247, 148, 29, .10), transparent 34%),
        linear-gradient(145deg, #14243F 0%, #101D35 48%, #0B1528 100%);
    overflow: hidden;
    isolation: isolate;
}

.main-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .13;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent 75%);
    pointer-events: none;
}

.footer-container {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto;
}

/* TOP */

.footer-top {
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.footer-top-inner {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding-block: 38px;
}

.footer-brand {
    max-width: 430px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #fff;
    text-decoration: none;
}

.footer-logo-mark {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(247,148,29,.4);
    border-radius: 13px;
    background: rgba(247,148,29,.08);
    transform: skew(-7deg);
}

.footer-logo-mark i {
    display: block;
    width: 6px;
    border-radius: 4px;
    background: var(--footer-orange);
    transform: skew(-8deg);
}

.footer-logo-mark i:nth-child(1) {
    height: 18px;
}

.footer-logo-mark i:nth-child(2) {
    height: 27px;
}

.footer-logo-mark i:nth-child(3) {
    height: 14px;
}

.footer-logo-name {
    font-size: 24px;
    font-weight: 900;
    line-height: 1.2;
}

.footer-logo-name > span {
    color: var(--footer-orange);
}

.footer-logo-name small {
    display: block;
    margin-top: 5px;
    color: #AAB6C7;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .3px;
}

.footer-brand-text {
    max-width: 390px;
    margin: 18px 0 0;
    color: var(--footer-text);
    font-size: 12px;
    line-height: 2.2;
}

/* SOCIAL */

.footer-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    min-width: 420px;
}

.footer-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--footer-orange);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.footer-social-content h3 {
    margin: 0;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
}

.footer-social-content p {
    margin: 8px 0 0;
    color: var(--footer-text);
    font-size: 11px;
    line-height: 1.9;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 9px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 12px;
    background: rgba(255,255,255,.045);
    color: #DCE4EF;
    transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}

.social-icon svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
    stroke: none;
}

.social-icon.aparat svg rect,
.social-icon.instagram svg rect,
.social-icon.instagram svg circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.social-icon.instagram svg path {
    fill: currentColor;
}

.social-icon:hover {
    color: var(--footer-navy);
    background: var(--footer-orange);
    border-color: var(--footer-orange);
    transform: translateY(-4px);
}

/* MAIN COLUMNS */

.footer-main {
    padding-block: 55px 48px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    gap: 55px;
}

.footer-col {
    min-width: 0;
}

.footer-title {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 25px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.footer-title-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(247,148,29,.32);
    border-radius: 8px;
    background: rgba(247,148,29,.09);
    color: var(--footer-orange);
    font-size: 9px;
    font-weight: 900;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col ul a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--footer-text);
    font-size: 12px;
    line-height: 1.8;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.footer-col ul a::before {
    content: "";
    width: 5px;
    height: 5px;
    margin-left: 9px;
    border-radius: 50%;
    background: rgba(247,148,29,.55);
    transition: background .2s ease, transform .2s ease;
}

.footer-col ul a:hover {
    color: #fff;
    transform: translateX(-4px);
}

.footer-col ul a:hover::before {
    background: var(--footer-orange);
    transform: scale(1.3);
}

/* CONTACT */

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 17px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--footer-text);
    font-size: 12px;
    direction: rtl;
}

.footer-contact li a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color .2s ease;
}

.footer-contact li a:hover {
    color: var(--footer-orange);
}

.footer-contact-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 9px;
    background: rgba(255,255,255,.045);
}

.footer-contact-icon svg {
    width: 15px;
    height: 15px;
    fill: var(--footer-orange);
}

.footer-call-link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-top: 23px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(247,148,29,.55);
    color: var(--footer-orange);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition: gap .2s ease;
}

.footer-call-link:hover {
    gap: 19px;
}

.footer-call-link span {
    font-size: 17px;
}

/* TRUST */

.footer-trust {
    border-top: 1px solid rgba(255,255,255,.09);
    border-bottom: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.025);
}

.footer-trust-inner {
    min-height: 105px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-block: 20px;
}

.trust-description {
    display: flex;
    align-items: center;
    gap: 13px;
}

.trust-mark {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(247,148,29,.3);
    border-radius: 12px;
    background: rgba(247,148,29,.08);
}

.trust-mark svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: var(--footer-orange);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trust-description strong,
.trust-description small {
    display: block;
}

.trust-description strong {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.trust-description small {
    margin-top: 5px;
    color: var(--footer-muted);
    font-size: 10px;
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-logos img {
    width: 75px;
    height: 65px;
    padding: 7px;
    object-fit: contain;
    border-radius: 9px;
    background: #fff;
    transition: transform .25s ease;
}

.trust-logos img:hover {
    transform: translateY(-4px);
}

/* BOTTOM */

.footer-bottom {
    background: rgba(0,0,0,.16);
}

.footer-bottom-inner {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #8996A9;
    font-size: 10px;
}

.footer-bottom-brand {
    color: #78869A;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.footer-bottom-brand i {
    margin-inline: 5px;
    color: var(--footer-orange);
    font-size: 7px;
}

/* BACK TO TOP */

.back-to-top {
    position: fixed;
    left: 25px;
    bottom: 25px;
    z-index: 90;
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(247,148,29,.45);
    border-radius: 13px;
    background: var(--footer-navy);
    color: #fff;
    box-shadow: 0 8px 25px rgba(16,29,53,.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: .25s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--footer-orange);
    border-color: var(--footer-orange);
    color: var(--footer-navy);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
    .footer-top-inner {
        gap: 25px;
    }

    .footer-social {
        min-width: 0;
        gap: 20px;
    }

    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 45px 55px;
    }
}

@media (max-width: 650px) {
    .main-footer {
        margin-top: 65px;
    }

    .footer-container {
        width: calc(100% - 36px);
    }

    .footer-top-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
        padding-block: 32px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-brand-text {
        font-size: 11px;
    }

    .footer-social {
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
    }

    .footer-social-icons {
        gap: 8px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
    }

    .footer-main {
        padding-block: 38px;
    }

    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px 20px;
    }

    .footer-title {
        gap: 8px;
        margin-bottom: 19px;
        font-size: 13px;
    }

    .footer-title-icon {
        width: 25px;
        height: 25px;
        flex: 0 0 25px;
    }

    .footer-col ul {
        gap: 12px;
    }

    .footer-col ul a,
    .footer-contact li {
        font-size: 10px;
    }

    .footer-contact {
        gap: 13px;
    }

    .footer-contact-icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .footer-contact-icon svg {
        width: 13px;
        height: 13px;
    }

    .footer-call-link {
        font-size: 10px;
    }

    .footer-trust-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        padding-block: 20px;
    }

    .trust-logos {
        width: 100%;
        justify-content: flex-start;
        gap: 12px;
    }

    .trust-logos img {
        width: 65px;
        height: 58px;
    }

    .footer-bottom-inner {
        min-height: 65px;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        padding-block: 13px;
        text-align: center;
    }

    .footer-bottom p {
        font-size: 9px;
    }

    .back-to-top {
        left: 15px;
        bottom: 15px;
        width: 39px;
        height: 39px;
    }
}

@media (max-width: 380px) {
    .footer-columns {
        column-gap: 13px;
    }

    .footer-col ul a {
        font-size: 9px;
    }

    .footer-contact li {
        font-size: 9px;
    }
}

.main-footer {
    --footer-navy: #101D35;
    --footer-orange: #F7941D;
    --footer-text: #AEB9C9;
    --footer-muted: #78869A;

    position: relative !important;
    display: block !important;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    margin-top: 50px;
    padding: 1px 0 0;
    color: #fff;
    background-color: #101D35 !important;
    background-image:
        radial-gradient(ellipse at 85% 0%, rgba(247, 148, 29, .10), transparent 34%),
        linear-gradient(145deg, #14243F 0%, #101D35 48%, #0B1528 100%) !important;
    overflow: visible !important;
    isolation: isolate;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    z-index: 10;
}

#site-footer::before {
    z-index: 0;
    pointer-events: none;
}

#site-footer > * {
    position: relative;
    z-index: 1;
}

