.site-footer {
    padding: var(--m-md) 0 var(--m-sm);
}

.site-footer .address-container {
    grid-area: 1/2/1/span 5;
}

.site-footer .default-btn.maps {
    grid-area: 2/2/2/span 5;
    margin-top: max(24px, 1.875vw);
}

.site-footer .footer-logo {
    grid-area: 1/7/span 2/span 2;
    aspect-ratio: 360/188;
    width: 100%;
    max-width: max(220px, 14.0625vw);
    mask: url(../img/logo-icon-text.svg) no-repeat center/contain;
    -webkit-mask: url(../img/logo-icon-text.svg) no-repeat center/contain;
    background: var(--gray);
}

.site-footer .contact-container {
    grid-area: 1/9/1/span 5;
}

.site-footer .default-btn.contact {
    grid-area: 2/9/2/span 5;
    margin-top: max(24px, 1.875vw);
}

.site-footer .copyright-container {
    grid-area: 3/2/3/span 4;
    font-size: var(--fs-17);
    line-height: 1.25;
    letter-spacing: .02em;
    margin-top: max(48px, 5vw);
    margin-bottom: max(16px, 0.9375vw);
}

.site-footer .copyright-container .icon.nill {
    display: block;
    height: 1.37em;
    aspect-ratio: 33/23.5;
    mask: url(../img/icon-nill.svg) no-repeat center/contain;
    -webkit-mask: url(../img/icon-nill.svg) no-repeat center/contain;
    background: currentColor;
    transform: translateY(.15em);
}

.site-footer .copyright-container .copyright-text::before {
    content: "";
    display: block;
    width: .6em;
    height: .6em;
    background: currentColor;
    border-radius: 100%;
    margin: 0 var(--m-xs);
}

.site-footer .social-container {
    grid-area: 3/6/3/span 4;
    margin-top: max(48px, 5vw);
}

.site-footer .social-container .icon.instagram {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max(48px, 2.5vw);
    aspect-ratio: 1/1;
    border: 2px solid currentColor;
    border-radius: 100vmin;
}

.site-footer .social-container .icon.instagram::after {
    content: "";
    display: block;
    width: 40%;
    height: 40%;
    aspect-ratio: 1/1;
    mask: url(../img/icon-instagram.svg) no-repeat center/contain;
    -webkit-mask: url(../img/icon-instagram.svg) no-repeat center/contain;
    background: currentColor;
}

.site-footer .footer-nav {
    grid-area: 3/10/3/span 4;
    margin-top: max(48px, 5vw);
    margin-bottom: max(16px, 0.9375vw);
}

.site-footer .footer-nav .menu {
    display: flex;
    font-size: var(--fs-17);
    line-height: 1.25;
    letter-spacing: .02em;
}

.site-footer .footer-nav .menu li {
    display: flex;
    align-items: center;
}

.site-footer .footer-nav .menu li:not(:last-child)::after {
    content: "";
    display: block;
    width: .6em;
    height: .6em;
    background: currentColor;
    border-radius: 100%;
    margin: 0 var(--m-xs);
}

/* Quickform */
.footer-quickform {
    background: var(--gray);
    color: var(--white);
    padding: var(--m-md) 0;
}

.footer-quickform #quickform {
    grid-area: 1/3/1/span 10;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-column-gap: var(--grid-gap);
}

.footer-quickform #quickform .btns-container {
    gap: var(--m-xs);
}

.footer-quickform #quickform label {
	position: relative;
    height: fit-content;
}

.footer-quickform #quickform input,
.footer-quickform #quickform select {
    display: block;
    width: 100%;
    height: fit-content;
    border: 2px solid var(--white);
    font-family: "DM Sans";
    font-size: var(--fs-18);
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: .02em;
    color: var(--white);
    border-radius: 20px;
    padding: 1.15em 2.2em;
    background: var(--gray);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.footer-quickform #quickform input::placeholder {
    font-family: "DM Sans";
    font-size: var(--fs-18);
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: .02em;
    color: var(--white);
    opacity: 1;
}

.footer-quickform #quickform input.date {
    padding-left: calc(2.2em + 1.1em + .75em);
}

.footer-quickform #quickform label:has(input.date)::before {
    content: "";
    display: block;
    font-size: var(--fs-18);
    height: 1.1em;
    width: auto;
    aspect-ratio: 18/20;
    mask: url(../img/icon-calendar.svg) no-repeat center/contain;
    -webkit-mask: url(../img/icon-calendar.svg) no-repeat center/contain;
    background: var(--white);
    position: absolute;
    top: 50%;
    left: 2.2em;
    transform: translateY(-50%);
    pointer-events: none;
}

.footer-quickform #quickform input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    pointer-events: none;
}

.footer-quickform #quickform input[type="date"] {
    -moz-appearance: textfield;
}

.footer-quickform #quickform input[type="date"]::-moz-focus-inner,
.footer-quickform #quickform input[type="date"]::-moz-focusring {
    color: transparent;
    border: 0;
}

.footer-quickform #quickform input[type="date"]::-ms-clear {
    display: none;
}

.footer-quickform #quickform label:has(select)::after {
    content: "";
    display: block;
    font-size: var(--fs-18);
    height: 1em;
    width: auto;
    aspect-ratio: 25/18;
    mask: url(../img/arrow-select.svg) no-repeat center/contain;
    -webkit-mask: url(../img/arrow-select.svg) no-repeat center/contain;
    background: var(--white);
    position: absolute;
    top: 50%;
    right: 2.2em;
    transform: translateY(-50%);
    transition: var(--def-trans);
}

.footer-quickform #quickform label:has(select:focus-within)::after {
    transform: translateY(-50%) rotate(180deg);
}

@media (max-width: 1499.98px) {
    .footer-quickform #quickform {
        grid-area: 1/2/1/span 12;
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-quickform #quickform .btns-container {
        grid-column: span 4;
        margin-top: var(--m-sm);
        justify-self: flex-end;
    }
}

@media (max-width: 991.98px) {
    .site-footer {
        text-align: center;
    }

    .site-footer .footer-logo {
        grid-area: 1/2/1/span 12;
    }

    .site-footer .address-container {
        grid-area: 2/2/2/span 12;
        margin-top: var(--m-md);
        line-height: 1.5em;
    }

    .site-footer .contact-container {
        grid-area: 3/2/3/span 12;
        margin-bottom: var(--m-sm);
        justify-self: center;
        align-items: center;
        margin-top: .25em;
        line-height: 1.5em;
    }

    .site-footer .default-btn.contact {
        grid-area: 4/8/4/span 6;
        justify-self: center;
    }

    .site-footer .default-btn.maps {
        grid-area: 4/2/4/span 6;
        justify-self: center;
    }

    .site-footer .social-container {
        grid-area: 6/2/6/span 12;
        margin-top: var(--m-md);
    }

    .site-footer .footer-nav {
        grid-area: 7/2/7/span 12;
        justify-self: center;
    }

    .site-footer .copyright-container {
        grid-area: 8/2/8/span 12;
        justify-self: center;
    }

    .footer-quickform #quickform {
        grid-template-columns: repeat(2, 1fr);
        grid-row-gap: var(--grid-gap);
    }

    .footer-quickform #quickform .btns-container {
        grid-column: span 2;
    }
}

@media (max-width: 575.98px) {
    .footer-quickform #quickform {
        grid-template-columns: 1fr;
    }

    .footer-quickform #quickform .btns-container {
        grid-column: span 1;
    }

    .site-footer .copyright-container {
        flex-direction: column;
        gap: var(--grid-gap);
    }

    .site-footer .copyright-container .copyright-text::before {
        content: none;
    }

    .footer-quickform #quickform .btns-container {
        justify-self: center;
        margin-top: var(--m-xs);
    }
}

@media (max-width: 359.98px) {
    .site-footer .footer-nav .menu {
        flex-direction: column;
        align-items: center;
    }

    .site-footer .footer-nav .menu li {
        flex-direction: column;
    }

    .site-footer .footer-nav .menu li:not(:last-child)::after {
        margin: var(--m-xs) 0;
    }

    .site-footer .default-btn.maps {
        grid-area: 4/2/4/span 12;
        justify-self: center;
    }

    .site-footer .default-btn.contact {
        grid-area: 5/2/5/span 12;
        justify-self: center;
        margin-top: var(--m-sm);
    }
}