:root {
    --brand: #e10707;
    --menu: #f44336;
    --ink: #3a3a3a;
    --head: #ffd9de;
    --title: #f64768;
    --title-line: #df3c1c;
    --foot: #af263f;
    --foot-line: #6d0417;
    --copy: #680719;
    --copy-line: #3d000a;
    --link: #e1e2ff;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    background: #d7d6d6;
    color: var(--ink);
    font-family: Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand); }

.skip {
    position: absolute;
    left: -999px;
    top: 0;
}
.skip:focus {
    left: 8px;
    top: 8px;
    z-index: 50;
    background: #fff;
    padding: 8px 12px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.site-header {
    background: var(--head);
    position: relative;
}

.header-bar {
    max-width: 1100px;
    margin: 0 auto;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    display: block;
    margin: 13px 0 10px;
    line-height: 0;
    flex: 0 1 auto;
    min-width: 0;
}

.logo img {
    width: 374px;
    max-width: 100%;
    height: 55px;
    object-fit: contain;
    object-position: left center;
}

.header-tools { display: none; gap: 4px; flex: 0 0 auto; }

.icon-btn {
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--menu);
    font-size: 20px;
    cursor: pointer;
}

.main-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 84px;
    margin-right: 28px;
    color: var(--menu);
    font-family: "Libre Baskerville";
    font-weight: 700;
    font-size: 14px;
    letter-spacing: normal;
    line-height: 84px;
    text-transform: none;
    white-space: nowrap;
}

.main-nav > ul > li:last-child > a { margin-right: 0; }

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.current { color: var(--brand); }

.main-nav .fa-chevron-down { font-size: 10px; }

.has-sub { position: relative; }

.main-nav .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: #f2efef;
    border-top: 3px solid var(--brand);
    box-shadow: 1px 1px 30px rgba(0, 0, 0, 0.06);
    z-index: 30;
    list-style: none;
    margin: 0;
    padding: 0;
}

.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu,
.has-sub.open > .submenu { display: block; }

.submenu a {
    display: block;
    padding: 7px 20px;
    color: var(--menu);
    font-family: Roboto;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 24px;
    text-transform: none;
    white-space: normal;
    border-bottom: 1px solid #dcdadb;
}

.submenu li:last-child a { border-bottom: 0; }
.submenu a:hover { color: var(--brand); }

.mobile-search {
    display: none;
    padding: 0 16px 12px;
    background: var(--head);
}

.mobile-search.open { display: block; }

.mobile-search input {
    width: 100%;
    border: 1px solid #d2d2d2;
    padding: 8px 10px;
    font: inherit;
    background: #fff;
}

.page-title {
    background: var(--title);
    border-top: 1px solid var(--title-line);
    border-bottom: 1px solid var(--title-line);
    min-height: 87px;
    display: flex;
    align-items: center;
    padding: 0 30px;
}

.page-title-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.page-title h1 {
    margin: 0;
    color: #fff;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 36px;
}

main {
    background: #fff;
}

main.is-home { padding: 0 0 40px; }
main.is-inner { padding: 0 30px 40px; }

.hero img { display: block; width: 100%; height: auto; }

.page-figure {
    max-width: 1100px;
    margin: 0 auto 20px;
    text-align: center;
}

.page-figure img { display: inline-block; max-width: 100%; height: auto; }

.copy, .contact-grid, .client-grid, .error-page {
    max-width: 1100px;
    margin: 0 auto;
}

.is-home .copy { margin-top: 30px; }

.copy p { margin: 0 0 20px; }
.copy strong { font-weight: 700; }
.copy h1, .copy h2, .copy h3 {
    color: #333;
    font-family: "Libre Baskerville", Georgia, serif;
    font-weight: 400;
}
.copy h2 { margin: 0 0 31px; font-size: 28px; line-height: 42px; }
.copy h3 { margin: 0 0 15px; font-size: 18px; line-height: 28px; }
.enquiry-heading {
    margin: 0 0 15px;
    color: #333;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 56px;
}
.copy ul, .copy ol { margin: 0 0 20px; padding-left: 40px; }
.copy li { margin: 0 0 8px; line-height: 24px; }

.contact-sep {
    height: 20px;
    margin: 10px 0 20px;
    background: radial-gradient(ellipse at 50% -50%, #e0dede 0, rgba(255, 255, 255, 0) 80%);
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
    margin: 0 auto;
    padding: 10px 0 0;
}

.client-grid img {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 4%;
    align-items: start;
    padding-top: 10px;
}

.enquiry p { margin: 0 0 12px; }
.enquiry label { display: block; color: var(--ink); }
.enquiry input[type="text"],
.enquiry input[type="email"],
.enquiry textarea {
    width: 100%;
    margin-top: 4px;
    background: #fff;
    color: #3a3a3a;
    border: 1px solid #d2d2d2;
    padding: 4px 15px;
    height: 29px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400;
}
.enquiry textarea {
    height: 150px;
    padding: 8px 15px;
    resize: vertical;
}
.enquiry .send {
    background: #e80707;
    color: #fff;
    border: 0;
    border-radius: 25px;
    padding: 13px 29px;
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 17px;
    letter-spacing: 0;
    text-transform: uppercase;
    cursor: pointer;
}
.enquiry .send:hover { background: #c40606; }
.field-error, .form-note.error { color: #b42318; font-size: 14px; }
.form-note.ok { color: #0b7a32; }
.footer-enquiry .form-note.ok { color: #b7f0c8; }
.footer-enquiry .field-error,
.footer-enquiry .form-note.error { color: #ffd0d0; }
.hp {
    position: absolute;
    left: -9999px;
    height: 0;
    width: 0;
    overflow: hidden;
}

.site-footer {
    color: #fff;
    font-family: Roboto;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 24px;
    text-transform: none;
}
.footer-widgets {
    background: var(--foot);
    border-top: 12px solid var(--foot-line);
    padding: 43px 30px 40px;
}
.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}
.footer-widgets h4 {
    margin: 0 0 15px;
    color: #fff;
    font-family: Roboto;
    font-size: 26px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.footer-widgets p {
    margin: 16px 0;
    color: #fff;
    font-family: Roboto;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 24px;
    text-transform: none;
}
.footer-widgets strong { font-weight: 700; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a {
    display: block;
    padding: 8px 10px 8px 20px;
    color: var(--link);
    font-family: "Libre Baskerville";
    font-size: 14px;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 21px;
    text-transform: none;
}
.footer-links a:hover,
.footer-links a.current { color: var(--brand); }
.footer-links ul { list-style: none; margin: 0; padding: 0 0 0 12px; }
.footer-enquiry .enquiry label { color: #fff; }

.copyright {
    background: var(--copy);
    border-top: 1px solid var(--copy-line);
    padding: 18px 30px 16px;
    text-align: center;
}
.copyright p {
    max-width: 1100px;
    margin: 0 auto;
    color: #fff;
    font-family: Roboto;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 18px;
    text-transform: none;
}

.error-page {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding-top: 10px;
}
.error-message {
    margin: 0;
    color: var(--brand);
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
}
.error-page h2 {
    grid-column: 1 / -1;
    margin: 0 0 10px;
    padding-bottom: 12px;
    border-bottom: 3px double #e0dede;
    color: #333;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 30px;
}
.error-page h3 {
    margin: 0 0 12px;
    color: #333;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 18px;
    font-weight: 400;
}
.help-links { list-style: none; margin: 0; padding: 0; }
.help-links li { margin: 0 0 8px; }
.help-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 14px;
    line-height: 24px;
}
.help-links a:hover { color: var(--brand); }
.help-links i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 12px;
}
.search-block p { margin: 0 0 12px; }
.search-block form { display: flex; gap: 8px; }
.search-block input[type="search"] {
    flex: 1;
    min-width: 0;
    border: 1px solid #d2d2d2;
    padding: 8px 10px;
    font: inherit;
}
.search-block button {
    border: 0;
    background: var(--brand);
    color: #fff;
    padding: 8px 14px;
    cursor: pointer;
    font: inherit;
}
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results li { margin: 0 0 16px; }
.search-results a { font-size: 18px; }

@media (max-width: 1100px) {
    .header-bar { padding: 0 16px; }
    .logo img { width: 280px; height: auto; }
}

@media (max-width: 1160px) {
    .is-home .copy { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 800px) {
    .header-bar { min-height: 70px; padding: 0 16px; }
    .logo { margin: 10px 0; }
    .logo img { width: 210px; height: auto; max-height: 43px; }
    .header-tools { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #fff;
        z-index: 40;
        border-top: 1px solid #eee;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    }
    .main-nav.open { display: block; }
    .main-nav ul { display: block; }
    .main-nav > ul > li > a {
        height: auto;
        line-height: 24px;
        margin: 0;
        padding: 12px 20px;
        white-space: normal;
    }
    .main-nav .submenu {
        position: static;
        display: none;
        width: auto;
        box-shadow: none;
        background: #f7f7f7;
        border-top: 0;
    }
    .has-sub:hover > .submenu,
    .has-sub:focus-within > .submenu { display: none; }
    .has-sub.open > .submenu { display: block; }
    .page-title { padding: 0 16px; }
    main.is-inner { padding-left: 16px; padding-right: 16px; }
    .is-home .copy { padding-left: 16px; padding-right: 16px; }
    .contact-grid, .footer-grid, .error-page { grid-template-columns: 1fr; }
    .client-grid { grid-template-columns: 1fr 1fr; }
    .site-header { position: relative; }
    .error-message { font-size: 88px; }
    .search-block form { flex-wrap: wrap; }
}

@media (max-width: 520px) {
    .client-grid { grid-template-columns: 1fr 1fr; }
}
