html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
    width: 100%;
}

footer {
    flex-shrink: 0;
    width: 100%;
}

.site-header {
    display: grid !important;
    grid-template-columns: minmax(220px, 310px) minmax(0, 1fr) auto;
    column-gap: clamp(28px, 3vw, 58px);
    align-items: center;
}

.site-header .brand {
    width: auto !important;
    min-width: 220px;
}

.site-header .brand img {
    width: clamp(210px, 15.6vw, 265px) !important;
}

.site-header nav {
    margin: 0 !important;
    justify-content: center;
    gap: clamp(20px, 1.75vw, 34px) !important;
    min-width: 0;
}

.site-header nav a {
    white-space: nowrap;
}

.header-contact {
    justify-self: end;
    min-width: 210px;
    margin-left: clamp(14px, 1.8vw, 32px);
    padding-left: 18px !important;
    padding-right: 18px !important;
}

@media (max-width: 1240px) {
    .site-header {
        grid-template-columns: minmax(190px, 245px) minmax(0, 1fr) auto;
        column-gap: 20px;
    }

    .site-header .brand {
        min-width: 190px;
    }

    .site-header .brand img {
        width: 205px !important;
    }

    .site-header nav {
        gap: 16px !important;
        font-size: 11px !important;
    }

    .header-contact {
        min-width: 185px;
        gap: 18px !important;
        font-size: 10px !important;
    }
}

@media (max-width: 1060px) {
    .header-contact {
        display: none !important;
    }

    .site-header {
        grid-template-columns: minmax(190px, auto) 1fr auto;
    }

    .site-header nav {
        justify-content: flex-end;
    }
}

@media (max-width: 900px) {
    .site-header {
        display: flex !important;
    }

    .site-header .brand img {
        width: 210px !important;
    }
}
