/* Arses Land footer — scoped redesign */
.taee-site-footer {
    padding: 0 !important;
    margin: 0;
    border: 0 !important;
    background: #660033 !important;
    color: #c8cdd1 !important;
    direction: rtl;
}

.taee-site-footer > .container {
    max-width: 1320px;
}

.taee-footer-services {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    background: #660033;
}

.taee-footer-service {
    position: relative;
    min-width: 0;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #fff;
}

.taee-footer-service:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 24%;
    bottom: 24%;
    left: 0;
    width: 1px;
    background: rgba(255, 255, 255, .13);
}

.taee-footer-service > i {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f7f8f9;
    transform: scale(1.35);
    transform-origin: center;
}

.taee-footer-service h6 {
    margin: 0 0 3px;
    color: #fff;
    font-weight: 800;
}


.taee-footer-main {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr 1fr;
    gap: 0;
    padding: 28px 0 24px;
    background: #660033;
}

.taee-footer-column {
    min-width: 0;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.taee-footer-column:not(:first-child) {
    border-right: 1px solid rgba(255, 255, 255, .11);
}

.taee-footer-column h5 {
    margin: 0 0 6px;
    color: #fff;
    font-weight: 900;
}

.taee-footer-column a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color .18s ease, transform .18s ease;
}

.taee-footer-column > a:hover {
    color: #fff !important;
    transform: translateX(-3px);
}

.taee-footer-brand-column {
    padding-right: 0;
}

.taee-footer-logo {
    display: inline-flex;
    margin-bottom: 8px;
}

.taee-footer-logo img {
    display: block;
    width: auto;
    max-width: 190px;
    height: 56px;
    object-fit: contain;
}

.taee-footer-brand-column p {
    max-width: 410px;
    margin: 0;
    color: #fff;
}

.taee-footer-brand-column address {
    margin: 4px 0 0;
    color: #bdc3c8;
    font-style: normal;
}

.taee-footer-brand-column address i,
.taee-footer-contact-column a i {
    margin-left: 7px;
    color: #f4f5f6;
}

.taee-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.taee-footer-socials a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    background: rgba(255, 255, 255, .035);
    color: #fff !important;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.taee-footer-socials a:hover {
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .09);
    transform: translateY(-2px);
}

.taee-footer-contact-column a {
    display: flex;
    align-items: center;
    color: #ffffff !important;
}

.taee-footer-bottom {
    min-height: 44px;
    padding: 11px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    color: #858f96;
    background: #660033;
}

.taee-footer-bottom p {
    margin: 0;
}

/* The site footer is intentionally dark in both light and dark site themes. */
.dark .taee-site-footer,
.dark .taee-site-footer .taee-footer-main,
.dark .taee-site-footer .taee-footer-bottom {
    background-color: #101417 !important;
}

@media (max-width: 1199px) {
    .taee-footer-services {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .taee-footer-service:nth-child(3n)::after,
    .taee-footer-service:last-child::after {
        display: none;
    }

    .taee-footer-service:nth-child(n+4) {
        border-top: 1px solid rgba(255, 255, 255, .09);
    }

    .taee-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 30px;
    }

    .taee-footer-column:nth-child(3) {
        border-right: 0;
    }
}

@media (max-width: 767px) {
    .taee-site-footer > .container {
        padding-right: 14px;
        padding-left: 14px;
    }

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

    .taee-footer-service {
        justify-content: flex-start;
        padding: 15px 10px;
    }

    .taee-footer-service::after {
        display: none !important;
    }

    .taee-footer-service + .taee-footer-service {
        border-top: 1px solid rgba(255, 255, 255, .09);
    }

    .taee-footer-main {
        grid-template-columns: 1fr;
        padding-top: 24px;
    }

    .taee-footer-column,
    .taee-footer-brand-column {
        padding: 0 4px 22px;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, .09);
    }

    .taee-footer-column:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .taee-footer-logo img {
        max-width: 165px;
        height: 50px;
    }

    .taee-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

.taee-footer-bottom-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.taee-footer-back-top {
    color: #b9c0c5 !important;
    text-decoration: none !important;
}

.taee-footer-back-top:hover {
    color: #fff !important;
}

.taee-footer-back-top i {
    margin-right: 5px;
}

@media (max-width: 767px) {
    .taee-footer-bottom-actions {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
