:root {
    --ls-color-blue: #00519e;
    --ls-color-text: #5a5757;
    --ls-color-light-blue: #eef1f8;
    --ls-color-near-black: #1f1f1f;
    --ls-color-grey: #6f706f;
    --ls-color-white: #ffffff;

    --ls-content-width: 1280px;
    --ls-gutter: clamp(20px, 3vw, 40px);

    /* The licensed Agenda / Interstate font files can be wired in later. */
    --ls-font-body: "Agenda", "Helvetica Neue", Arial, sans-serif;
    --ls-font-condensed: "Agenda BlackCondensed", "Arial Narrow", Arial, sans-serif;
    --ls-font-display: "Interstate Compressed", "Arial Narrow", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ls-color-text);
    background: var(--ls-color-white);
    font-family: var(--ls-font-body);
    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--ls-color-blue);
}

.ls-container {
    width: min(calc(100% - (2 * var(--ls-gutter))), var(--ls-content-width));
    margin-inline: auto;
}

.ls-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 24px;
    border-radius: 6px;
    color: var(--ls-color-white);
    background: var(--ls-color-blue);
    font-weight: 700;
    text-decoration: none;
}

.site-header {
    position: relative;
    z-index: 20;
    background: var(--ls-color-white);
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    min-height: 120px;
}

.site-header__logo {
    width: auto;
    max-height: 64px;
}

.site-header__menu,
.site-footer ul,
.site-footer__social {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header__menu {
    display: flex;
    justify-content: center;
    gap: 34px;
}

.site-header__menu a {
    color: var(--ls-color-text);
    text-decoration: none;
}

.site-header__tools {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-header__phone {
    display: flex;
    gap: 6px;
    color: var(--ls-color-blue);
    text-decoration: none;
    white-space: nowrap;
}

.site-footer {
    padding-top: 64px;
    background: var(--ls-color-white);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.5fr;
    gap: 64px;
    padding-bottom: 56px;
}

.site-footer__logo {
    width: auto;
    max-height: 64px;
    margin-bottom: 24px;
}

.site-footer__social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.site-footer__social img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.site-footer__legal {
    border-top: 1px solid #c9c9c9;
}

.site-footer__legal-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 64px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 99999;
    width: auto;
    height: auto;
    padding: 10px 14px;
    margin: 0;
    clip: auto;
    background: #fff;
}

@media (max-width: 1100px) {
    .site-header__inner {
        grid-template-columns: auto 1fr;
    }

    .site-header__nav {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .site-header__tools {
        justify-self: end;
    }
}

@media (max-width: 760px) {
    .site-header__inner,
    .site-footer__grid,
    .site-footer__legal-inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .site-header__menu,
    .site-header__tools {
        flex-wrap: wrap;
    }
}
