.footer {
    background: #081c2d;
    color: #ffffff;
    padding: 55px 0 0;
    width: 100%;
}

.footer-container {
    width: 92%;
    max-width: 1500px;
    margin: auto;

    display: grid;
    grid-template-columns:
        2.5fr
        1fr
        1.25fr
        1.25fr
        1.6fr
        1.6fr;

    gap: 40px;
    align-items: start;
}

.footer-brand img {
    width: 90px;
    height: auto;
    margin-bottom: 10px;
}

.footer-brand h2 {
    font-family: "Playfair Display", serif;
    font-size: 23px;
    margin: 5px 0 12px;
}

.footer-brand p {
    color: #d6dce3;
    line-height: 1.7;
    font-size: 14px;
    max-width: 280px;
}

.footer-column h3 {
    color: #d4af37;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 11px;
}

.footer-column ul li a {
    color: #d6dce3;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: #d4af37;
}

.locations-column ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 35px;
    row-gap: 8px;

    list-style: none;
    padding: 0;
    margin: 0;
}

.locations-column ul li {
    margin: 0;
    padding: 0;
}

.locations-column ul li a {
    display: inline-block;
    text-decoration: none;
}


.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 13px;
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact i {
    color: #398d6b;
    min-width: 18px;
    margin-top: 3px;
}

.footer-contact a {
    color: #d6dce3;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #d4af37;
}

.footer-bottom {
    margin-top: 40px;
    padding: 18px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-bottom p {
    margin: 0;
    color: #bfc7d1;
    font-size: 13px;
}

/* ==========================================
   LAPTOP
========================================== */

@media (max-width: 1200px) {

    .footer-container {
        width: 92%;
        margin: 0 auto;

        grid-template-columns:
            2fr
            1fr
            1.2fr
            1.2fr
            1.5fr;

        gap: 30px;

        justify-items: center;
        text-align: center;
    }

    .footer-brand {
        grid-column: span 2;
        width: 100%;
        text-align: center;
    }

    .footer-brand p {
        max-width: 350px;
        margin: 0 auto;
    }

    .footer-column {
        width: 100%;
        text-align: center;
    }

    .locations-column {
        width: 100%;
        text-align: center;
    }

    .locations-column ul {
        column-gap: 25px;
        justify-content: center;
        text-align: center;
    }

    .footer-contact {
        width: 100%;
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 992px) {

    .footer {
        padding: 50px 0 0;
    }

    .footer-container {
        width: 92%;
        margin: 0 auto;

        grid-template-columns: repeat(3, minmax(0, 1fr));

        gap: 35px 25px;

        justify-items: center;
        text-align: center;
    }

    /* Brand full width */
    .footer-brand {
        grid-column: 1 / -1;

        width: 100%;
        text-align: center;
    }

    .footer-brand img {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-brand p {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-column {
        width: 100%;
        text-align: center;
    }

    .footer-column h3 {
        font-size: 17px;
        margin-bottom: 18px;
    }

    .footer-column ul {
        text-align: center;
    }

    .footer-column ul li {
        margin-bottom: 10px;
    }

    .footer-column ul li a {
        font-size: 14px;
    }

    .locations-column {
        width: 100%;
        text-align: center;
    }

    .locations-column ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        column-gap: 20px;
        row-gap: 8px;

        justify-content: center;
        text-align: center;
    }

    .locations-column ul li {
        text-align: center;
    }

    .footer-contact {
        width: 100%;
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
        font-size: 14px;
    }

    .footer-bottom {
        margin-top: 35px;
        text-align: center;
    }
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

    .footer {
        padding: 45px 0 0;
    }

    .footer-container {
        width: calc(100% - 32px);
        margin: 0 auto;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 30px 25px;

        justify-items: center;
        text-align: center;
    }

    /* Brand full width */
    .footer-brand {
        grid-column: 1 / -1;

        width: 100%;
        text-align: center;
    }

    .footer-brand img {
        width: 80px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-brand h2 {
        font-size: 22px;
    }

    .footer-brand p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;

        font-size: 14px;
        line-height: 1.7;
    }

    /* Footer columns */
    .footer-column {
        width: 100%;
        text-align: center;
    }

    .footer-column h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-column ul {
        text-align: center;
    }

    .footer-column ul li {
        margin-bottom: 9px;
    }

    .footer-column ul li a {
        font-size: 13px;
    }

    /* Locations */
    .locations-column {
        width: 100%;
        text-align: center;
    }

    .locations-column ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        column-gap: 15px;
        row-gap: 8px;

        justify-content: center;
        text-align: center;
    }

    .locations-column ul li {
        text-align: center;
    }

    .locations-column ul li a {
        font-size: 13px;
    }

    /* Contact */
    .footer-contact {
        width: 100%;
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
        align-items: flex-start;

        font-size: 13px;
        gap: 8px;

        text-align: left;
    }

    .footer-contact i {
        min-width: 17px;
    }

    /* Bottom */
    .footer-bottom {
        margin-top: 30px;
        padding: 16px 12px;

        text-align: center;
    }

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


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 576px) {

    .footer {
        padding: 40px 0 0;
    }

    .footer-container {
        width: calc(100% - 30px);
        margin: 0 auto;

        grid-template-columns: 1fr;

        gap: 28px;

        justify-items: center;
        text-align: center;
    }

    /* Brand */
    .footer-brand {
        grid-column: 1;

        width: 100%;
        text-align: center;
    }

    .footer-brand img {
        width: 75px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-brand h2 {
        font-size: 21px;
    }

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

        margin: 0 auto;

        font-size: 13px;
        line-height: 1.7;
    }

    /* Columns */
    .footer-column {
        grid-column: 1;

        width: 100%;
        text-align: center;
    }

    .footer-column h3 {
        font-size: 17px;
        margin-bottom: 14px;
    }

    .footer-column ul {
        text-align: center;
    }

    .footer-column ul li {
        margin-bottom: 9px;
    }

    .footer-column ul li a {
        font-size: 14px;
    }

    /* Locations */
    .locations-column {
        grid-column: 1;

        width: 100%;
        text-align: center;
    }

    .locations-column ul {
        width: 100%;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        column-gap: 20px;
        row-gap: 8px;

        justify-items: center;
        text-align: center;
    }

    .locations-column ul li {
        width: 100%;
        text-align: center;
    }

    .locations-column ul li a {
        font-size: 13px;
    }

    /* Contact */
    .footer-contact {
        grid-column: 1;

        width: 100%;
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;

        font-size: 13px;
        line-height: 1.6;

        text-align: left;

        width: fit-content;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Bottom */
    .footer-bottom {
        margin-top: 30px;
        padding: 15px 10px;

        text-align: center;
    }

    .footer-bottom p {
        font-size: 11px;
        line-height: 1.6;
    }
}


/* ==========================================
   EXTRA SMALL PHONES
========================================== */

@media (max-width: 400px) {

    .footer {
        padding-top: 35px;
    }

    .footer-container {
        width: calc(100% - 24px);
        gap: 25px;
    }

    .footer-brand img {
        width: 70px;
    }

    .footer-brand h2 {
        font-size: 20px;
    }

    .footer-brand p {
        font-size: 12px;
    }

    .footer-column h3 {
        font-size: 16px;
    }

    .footer-column ul li a {
        font-size: 13px;
    }

    .locations-column ul {
        column-gap: 12px;
    }

    .locations-column ul li a {
        font-size: 12px;
    }

    .footer-contact p {
        font-size: 12px;
    }

    .footer-bottom {
        padding-left: 8px;
        padding-right: 8px;
    }

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