:root {
    --brand: #03a9f4;
    --ink: #3a3a3a;
    --menu: #333333;
    --foot: #363839;
    --copy: #282a2b;
    --title: #ededed;
    --line: #d2d3d4;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    background: #d7d6d6;
    color: var(--ink);
    font-family: Roboto, Arial, sans-serif;
    font-size: 16px;
    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: #fff;
    position: relative;
}

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

.logo {
    display: block;
    margin: 13px 0 10px;
    line-height: 0;
}

.logo img {
    width: 298px;
    height: 55px;
    object-fit: contain;
}

.header-tools { display: none; gap: 8px; }

.icon-btn {
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: #333;
    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: 6px;
    height: 84px;
    margin-right: 45px;
    color: var(--menu);
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
}

.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;
    min-width: 250px;
    background: #f2efef;
    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: #333;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    white-space: nowrap;
}

.submenu a:hover { color: var(--brand); }

.mobile-search {
    display: none;
    padding: 0 16px 12px;
}

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

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

.page-title {
    background: var(--title);
    border-bottom: 1px solid var(--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: #333;
    font-size: 26px;
    font-weight: 400;
    line-height: 36px;
}

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

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #0b3a66;
}

.slides { height: 100%; }

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s linear;
}

.slide.is-active { opacity: 1; }

.slide img {
    display: block;
    width: 100%;
    height: 600px;
    max-width: none;
    object-fit: cover;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 63px;
    height: 63px;
    border: 0;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 25px;
    cursor: pointer;
    z-index: 2;
}

.hero-prev { left: 0; }
.hero-next { right: 0; }

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

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

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

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

.copy p { margin: 0 0 20px; }
.copy strong { font-weight: 700; }
.copy h2 {
    color: #333;
    font-weight: 400;
    font-size: 28px;
    line-height: 42px;
    margin: 0 0 31px;
}
.copy ul { margin: 0 0 20px; padding-left: 22px; }
.copy li { margin: 0; line-height: 24px; }

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

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 44px;
}

.contact-grid h1 {
    margin: 0 0 15px;
    color: #333;
    font-size: 40px;
    font-weight: 400;
    line-height: 56px;
}

.contact-grid h3 {
    margin: 24px 0;
    color: #333;
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
}

.contact-grid h5 {
    margin: 26px 0;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.contact-grid p { margin: 0 0 20px; }

.contact-sep {
    height: 1px;
    margin: 10px 0 20px;
    background: #e0dede;
}

.enquiry p { margin: 0 0 12px; }
.enquiry label { display: block; }
.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: inherit;
    font-size: 13px;
}
.enquiry textarea { height: 150px; min-height: 150px; resize: vertical; padding-top: 8px; }
.enquiry .send {
    background: var(--brand);
    color: #fff;
    border: 0;
    border-radius: 25px;
    padding: 13px 29px;
    font-size: 14px;
    font-weight: 700;
    line-height: 17px;
    letter-spacing: 0;
    cursor: pointer;
}
.enquiry .send:hover { background: #02c2f7; }
.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: #ffb4b4; }
.hp {
    position: absolute;
    left: -9999px;
    height: 0;
    width: 0;
    overflow: hidden;
}

.site-footer { color: #eae5e5; }
.footer-widgets {
    background: var(--foot);
    border-top: 12px solid #e9eaee;
    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: #ddd;
    font-size: 26px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 1px;
}
.footer-widgets p { margin: 0 0 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a {
    display: block;
    padding: 8px 10px 8px 20px;
    color: #03a9f4;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
}
.footer-links a.current,
.footer-links a:hover { color: #fff; }
.footer-links ul { list-style: none; margin: 0; padding: 0 0 0 12px; }
.footer-enquiry .enquiry label { color: #eae5e5; }

.copyright {
    background: var(--copy);
    border-top: 1px solid #4b4c4d;
    padding: 18px 30px 16px;
    text-align: center;
}
.copyright p {
    max-width: 1100px;
    margin: 0 auto;
    color: #fff;
    font-size: 12px;
    line-height: 18px;
}

.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 48px;
    height: 48px;
    border: 0;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 40;
}

@media (max-width: 1000px) {
    .header-bar { min-height: 70px; padding: 0 16px; }
    .logo { margin: 10px 0; }
    .logo img { width: 180px; height: 33px; }
    .header-tools { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 70px;
        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;
    }
    .main-nav .submenu {
        position: static;
        display: none;
        min-width: 0;
        box-shadow: none;
        background: #f7f7f7;
    }
    .main-nav .has-sub:hover > .submenu,
    .main-nav .has-sub:focus-within > .submenu { display: none; }
    .main-nav .has-sub.open > .submenu { display: block; }
    .submenu a { white-space: normal; }
    .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 { grid-template-columns: 1fr; }
    .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hero, .slide img { height: 280px; }
    .to-top { display: none; }
    .site-header { position: relative; }
}

@media (max-width: 520px) {
    .client-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid h1 { font-size: 32px; line-height: 1.2; }
    .copy h2 { font-size: 24px; line-height: 1.3; }
}
