/* =========================================================
   NG PROFESSIONAL FOOTER
   Coffee Genaveh
   RTL / Mobile First / Lightweight
   ========================================================= */

.ng-site-footer,
.ng-site-footer * {
    box-sizing: border-box;
}

.ng-site-footer {
    direction: rtl;
    width: 100%;
    margin: 0;
    padding: 0;
    color: #40332d;
    background: #fff;
    font-family: inherit;
    text-align: right;
}


/* =========================================================
   MAIN
   ========================================================= */

.ng-footer-main {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #fbf8f5 0%,
            #f8f2ec 100%
        );

    border-top: 1px solid #eee4dc;
}

.ng-footer-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 52px 0 45px;

    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr 1fr;
    gap: 48px;
}


/* =========================================================
   BRAND
   ========================================================= */

.ng-footer-brand {
    min-width: 0;
}

.ng-footer-brand-top {
    margin-bottom: 17px;
}

.ng-footer-logo {
    display: flex;
    align-items: center;
    min-height: 48px;
}

.ng-footer-logo a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.ng-footer-logo img {
    display: block;
    width: auto;
    max-width: 175px;
    max-height: 58px;
    object-fit: contain;
}

.ng-footer-logo-text {
    display: inline-block;
    color: #5a301e;
    font-size: 25px;
    line-height: 1.4;
    font-weight: 900;
    text-decoration: none;
}

.ng-footer-description {
    max-width: 390px;
    margin: 0;

    color: #70645d;
    font-size: 14px;
    line-height: 2.15;
}


/* =========================================================
   TRUST ITEMS
   ========================================================= */

.ng-footer-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 23px;
}

.ng-footer-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    min-height: 38px;
    padding: 5px 9px;

    color: #665950;
    background: rgba(255,255,255,.72);

    border: 1px solid #e9ddd4;
    border-radius: 11px;

    font-size: 11px;
    line-height: 1.5;
}

.ng-footer-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 26px;
    height: 26px;
    flex: 0 0 26px;

    color: #75452d;
    background: #f1e5dc;
    border-radius: 8px;
}

.ng-footer-trust-icon svg {
    width: 15px;
    height: 15px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   COLUMNS
   ========================================================= */

.ng-footer-column {
    min-width: 0;
}

.ng-footer-title {
    position: relative;

    margin: 0 0 20px;
    padding: 0 0 12px;

    color: #39271f;

    font-size: 15px;
    font-weight: 850;
    line-height: 1.6;
}

.ng-footer-title::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: 0;

    width: 32px;
    height: 3px;

    border-radius: 20px;
    background: #855137;
}


/* =========================================================
   LINKS
   ========================================================= */

.ng-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ng-footer-links li {
    margin: 0;
    padding: 0;
}

.ng-footer-links a {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 38px;

    color: #685c55;
    text-decoration: none;

    font-size: 13px;
    line-height: 1.8;

    transition:
        color .18s ease,
        padding-right .18s ease;
}

.ng-footer-links a::before {
    content: "‹";

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 17px;
    margin-left: 5px;

    color: #a06b4b;
    font-size: 18px;
    line-height: 1;

    transition: transform .18s ease;
}

.ng-footer-links a:hover {
    color: #754129;
    padding-right: 3px;
}

.ng-footer-links a:hover::before {
    transform: translateX(-3px);
}


/* =========================================================
   SERVICES
   ========================================================= */

.ng-footer-services {
    display: flex;
    flex-direction: column;

    list-style: none;
    margin: 0;
    padding: 0;

    gap: 11px;
}

.ng-footer-services li {
    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 39px;

    color: #685c55;
    font-size: 13px;
    line-height: 1.8;
}

.ng-footer-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;
    flex: 0 0 34px;

    color: #75452d;
    background: #f0e4da;

    border-radius: 10px;
}

.ng-footer-service-icon svg {
    width: 17px;
    height: 17px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   BOTTOM BAR
   ========================================================= */

.ng-footer-bottom {
    width: 100%;
    background: #3b2921;
}

.ng-footer-bottom-inner {
    width: min(1180px, calc(100% - 40px));
    min-height: 61px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.ng-footer-copy {
    color: #d8ccc5;

    font-size: 11px;
    line-height: 1.9;
}

.ng-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 10px;

    white-space: nowrap;
}

.ng-footer-bottom-links a {
    color: #e9ded7;
    text-decoration: none;

    font-size: 11px;
    line-height: 1.8;

    transition: color .18s ease;
}

.ng-footer-bottom-links a:hover {
    color: #fff;
}

.ng-footer-bottom-links span {
    color: #806e63;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .ng-footer-container {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 35px;
    }

    .ng-footer-brand {
        grid-column: 1 / -1;
        padding-bottom: 10px;
    }

    .ng-footer-description {
        max-width: 650px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .ng-footer-main {
        background:
            linear-gradient(
                180deg,
                #fbf8f5 0%,
                #f8f2ed 100%
            );
    }

    .ng-footer-container {
        width: calc(100% - 24px);

        display: flex;
        flex-direction: column;

        gap: 0;

        padding: 32px 0 20px;
    }


    /* -----------------------------------------
       BRAND
       ----------------------------------------- */

    .ng-footer-brand {
        width: 100%;
        grid-column: auto;

        padding: 0 0 25px;
        margin: 0 0 2px;

        border-bottom: 1px solid #e8ddd5;
    }

    .ng-footer-brand-top {
        margin-bottom: 13px;
    }

    .ng-footer-logo {
        min-height: 42px;
    }

    .ng-footer-logo img {
        max-width: 155px;
        max-height: 52px;
    }

    .ng-footer-logo-text {
        font-size: 22px;
    }

    .ng-footer-description {
        max-width: none;

        margin: 0;

        color: #6c6059;

        font-size: 13px;
        line-height: 2.2;
    }


    /* -----------------------------------------
       TRUST
       ----------------------------------------- */

    .ng-footer-trust {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;

        margin-top: 18px;
    }

    .ng-footer-trust-item {
        width: 100%;
        min-height: 42px;

        padding: 5px 9px;

        border-radius: 10px;

        font-size: 12px;
    }

    .ng-footer-trust-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .ng-footer-trust-icon svg {
        width: 16px;
        height: 16px;
    }


    /* -----------------------------------------
       COLUMNS
       ----------------------------------------- */

    .ng-footer-column {
        width: 100%;

        padding: 22px 0;

        border-bottom: 1px solid #e8ddd5;
    }

    .ng-footer-column:last-child {
        border-bottom: 0;
        padding-bottom: 9px;
    }

    .ng-footer-title {
        margin: 0 0 13px;
        padding-bottom: 9px;

        font-size: 15px;
        line-height: 1.7;
    }

    .ng-footer-title::after {
        width: 30px;
        height: 3px;
    }


    /* -----------------------------------------
       LINKS
       ----------------------------------------- */

    .ng-footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;

        column-gap: 12px;
        row-gap: 2px;
    }

    .ng-footer-links a {
        min-height: 43px;

        color: #665a53;

        font-size: 13px;
        line-height: 1.9;
    }

    .ng-footer-links a::before {
        width: 15px;
        margin-left: 4px;

        font-size: 17px;
    }


    /* -----------------------------------------
       SERVICES
       ----------------------------------------- */

    .ng-footer-services {
        gap: 8px;
    }

    .ng-footer-services li {
        min-height: 43px;

        font-size: 13px;
        line-height: 1.9;
    }

    .ng-footer-service-icon {
        width: 35px;
        height: 35px;
        flex-basis: 35px;

        border-radius: 10px;
    }


    /* -----------------------------------------
       BOTTOM
       ----------------------------------------- */

    .ng-footer-bottom-inner {
        width: calc(100% - 24px);

        min-height: auto;

        padding: 18px 0 20px;

        flex-direction: column;
        justify-content: center;
        align-items: center;

        gap: 8px;

        text-align: center;
    }

    .ng-footer-copy {
        width: 100%;

        color: #d5c9c2;

        font-size: 10px;
        line-height: 2;
    }

    .ng-footer-bottom-links {
        gap: 9px;
    }

    .ng-footer-bottom-links a {
        font-size: 11px;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .ng-footer-container,
    .ng-footer-bottom-inner {
        width: calc(100% - 20px);
    }

    .ng-footer-container {
        padding-top: 28px;
    }

    .ng-footer-description {
        font-size: 12.5px;
    }

    .ng-footer-links {
        grid-template-columns: 1fr;
    }

    .ng-footer-links a {
        min-height: 40px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.ng-site-footer a:focus-visible {
    outline: 2px solid #9a684b;
    outline-offset: 3px;
    border-radius: 5px;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .ng-site-footer *,
    .ng-site-footer *::before,
    .ng-site-footer *::after {
        transition: none !important;
    }
}