/* =========================================
   Footer
========================================= */

.footer {
    background: linear-gradient(
        135deg,
        #0f172a,
        #111827,
        #1e293b
    );
    color: #fff;
    overflow: hidden;
    padding: 90px 0 0;
    position: relative;
}

.footer::before {
    background:
        radial-gradient(
            circle at top left,
            rgba(160, 0, 0, .2),
            transparent 35%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(240, 79, 78, .18),
            transparent 35%
        );
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.footer > .container {
    margin: 0 auto;
    max-width: 1280px;
    padding-left: 30px;
    padding-right: 30px;
    position: relative;
    width: 100%;
}

/* Main columns */

.footer-wrapper {
    align-items: start;
    display: grid;
    gap: 45px;
    grid-template-columns:
        minmax(250px, 1.8fr)
        minmax(135px, .9fr)
        minmax(170px, 1fr)
        minmax(230px, 1.25fr);
    padding-bottom: 60px;
    position: relative;
    z-index: 2;
}

.footer-about,
.footer-links,
.footer-contact {
    min-width: 0;
}

.footer-about {
    max-width: 350px;
}

/* Logo */

.footer-logo {
    display: inline-flex;
    margin-bottom: 22px;
}

.footer-logo img {
    display: block;
    height: auto;
    object-fit: contain;
    width: 100%;
}

.footer-about p {
    color: rgba(255, 255, 255, .72);
    line-height: 1.85;
    margin: 0 0 25px;
}

/* Social icons */

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.footer-social a {
    align-items: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    display: flex;
    height: 45px;
    justify-content: center;
    transition: .35s ease;
    width: 45px;
}

.footer-social a:hover {
    background: var(--primary-color, #a00000);
    transform: translateY(-5px);
}

.footer-social i {
    color: #fff;
    font-size: 16px;
}

/* Titles */

.footer h3 {
    color: #fff;
    font-size: 21px;
    margin: 0 0 24px;
    padding-bottom: 13px;
    position: relative;
}

.footer h3::after {
    background: var(--primary-color, #a00000);
    border-radius: 20px;
    bottom: 0;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    width: 48px;
}

/* Links */

.footer-links ul,
.footer-contact ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-links li {
    margin: 0;
    padding: 0;
}


.footer-links a {
    color: rgba(255, 255, 255, .72);
    display: inline-block;
    line-height: 1.45;
    transition: .3s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Contact */

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact li {
    align-items: flex-start;
    color: rgba(255, 255, 255, .75);
    display: flex;
    gap: 11px;
    line-height: 1.55;
}

.footer-contact li > i {
    color: var(--secondary-color, #f4b544);
    flex: 0 0 17px;
    font-size: 15px;
    margin-top: 7px !important;
    text-align: center;
}

.footer-contact a {
    color: inherit;
}

/* Bottom */

.footer-bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    padding: 26px 0;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: rgba(255, 255, 255, .62);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, .62);
    transition: .25s ease;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* Tablet */

@media (max-width: 1100px) {
    .footer-wrapper {
        gap: 32px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-about {
        max-width: 100%;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .footer {
        padding-top: 70px;
    }

    .footer > .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-wrapper {
        gap: 38px;
        grid-template-columns: 1fr;
    }

    .footer-about {
        max-width: 100%;
    }

    .footer-logo img {
        width: 180px;
    }

    .footer-bottom {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

/* =========================================
   Footer Link Arrow Hover
========================================= */

/* Footer links exact alignment */

.footer-links a {
    display: inline-flex;
    padding-left: 0;
    position: relative;
    transform: translateX(0);
    transition:
        color .3s ease,
        transform .3s ease;
}

/* Arrow does not occupy layout space */

.footer-links a::before {
    color: var(--white);
    content: "→";
    left: -21px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translate(-8px, -50%);
    transition:
        opacity .3s ease,
        transform .3s ease;
}

/* Before hover: text exactly below heading */

.footer-links a:hover {
    color: #fff;
    transform: translateX(10px);
}

/* On hover arrow appears */

.footer-links a:hover::before {
    opacity: 1;
    transform: translate(0, -50%);
}

/* Mobile logo */

@media (max-width: 767px) {
    .footer-logo {
        width: 210px;
    }

    .footer-logo img {
        width: 210px !important;
    }
}

.footer-working-hours {
    display: inline-block;
    line-height: 1.7;
}