:root {
    --ink: #202124;
    --muted: #5f6368;
    --line: #dfe3e6;
    --paper: #ffffff;
    --wash: #f5f7f8;
    --brand: #193c9d;
    --brand-dark: #265e88;
    --accent: #f9b109;
    --danger: #b42318;
    --ok: #16703b;
    font-family: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
}

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

a:hover {
    text-decoration: underline;
}

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

.wrap {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

.topbar {
    background: #1e2427;
    color: #fff;
    font-size: 14px;
}

.topbar a {
    color: #fff;
}

.topbar__inner {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    flex-wrap: wrap;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}

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

.brand {
    color: var(--ink);
    display: grid;
    gap: 2px;
}

.brand:hover {
    text-decoration: none;
}

.brand__name {
    font-size: 17px;
    font-weight: 800;
}

.brand__tagline {
    color: var(--muted);
    font-size: 14px;
    font-style: italic;
}

.primary-menu {
    display: flex;
    gap: 18px;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.primary-menu a {
    color: var(--ink);
}

.primary-menu a:hover {
    color: var(--accent);
    text-decoration: none;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    padding: 9px 12px;
    font-weight: 700;
}

.eyebrow {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: 46px;
    line-height: 1.08;
    margin-bottom: 18px;
}

h2 {
    font-size: 28px;
    line-height: 1.2;
}

h3 {
    font-size: 18px;
}

.hero__actions,
.form__row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 2px solid var(--accent);
    background: var(--accent);
    color: #1e2427;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
    cursor: pointer;
}

.button:hover {
    background: #fff;
    border-color: var(--accent);
    color: #1e2427;
    text-decoration: none;
}

.button--ghost {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.button--light {
    background: #fff;
    color: #1e2427;
}

.services-band {
    background: linear-gradient(180deg, #193c9d 0%, #168dcc 100%);
    color: #fff;
    padding: 82px 0 24px;
}

.legacy-logo,
.home-logo {
    text-align: center;
    margin-bottom: 54px;
    color: #fff;
}

.home-logo img {
    display: block;
    width: min(520px, 92vw);
    margin: 0 auto;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.home-logo p {
    margin: 16px 0 0;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
}

.legacy-logo::after,
.home-logo::after,
.section--split h2::after {
    content: "";
    display: block;
    width: 52px;
    height: 4px;
    background: var(--accent);
    margin: 18px auto 0;
}

.section {
    padding: 56px 0;
}

.section--split {
    background: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.service-card {
    border: 1px solid var(--line);
    background: #fff;
}

.services-band .service-card {
    border: 0;
    background: transparent;
    position: relative;
    min-height: 214px;
    overflow: hidden;
}

.service-card img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.services-band .service-card img {
    height: 214px;
    filter: grayscale(1);
    opacity: 0.36;
}

.services-band .service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    z-index: 1;
}

.service-card__body {
    padding: 18px;
}

.services-band .service-card__body {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-content: center;
    text-align: center;
}

.service-card h2 {
    font-size: 20px;
    margin-bottom: 8px;
}

.services-band .service-card h2 {
    color: #fff;
    font-size: 25px;
}

.services-band .service-card a {
    color: #fff;
}

.services-band .service-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 12px;
    border: 2px solid var(--accent);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.services-band .service-card a::after {
    content: "›";
    color: var(--accent);
    font-size: 22px;
    line-height: 1;
}

.split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 42px;
    align-items: center;
}

.split > img {
    width: 100%;
    max-height: 470px;
    object-fit: cover;
}

.contact-line,
.lead,
.price {
    font-weight: 800;
    color: var(--brand-dark);
}

.price--large {
    font-size: 26px;
}

.error-text {
    color: var(--danger);
    font-weight: 700;
}

pre {
    white-space: pre-wrap;
    margin: 0;
    font: inherit;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.what-we-do {
    background: #f6f8fb;
}

.section-heading {
    max-width: 780px;
    margin: 0 auto 28px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 10px;
}

.section-heading h2::after {
    content: "";
    display: block;
    width: 52px;
    height: 4px;
    background: var(--accent);
    margin: 16px auto 0;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.work-card {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--accent);
    padding: 20px;
    min-height: 220px;
}

.work-card h3 {
    margin: 0 0 10px;
    color: var(--brand);
}

.work-card p {
    margin: 0;
    color: #30373b;
    font-size: 15px;
}

.work-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.work-strip span {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--brand-dark);
    font-size: 14px;
    font-weight: 800;
}

.page-title {
    background: #193c9d;
    border-bottom: 0;
    padding: 56px 0;
    color: #fff;
}

.page-title h1 {
    margin: 0;
    color: #fff;
    text-align: center;
}

.page-title h1::after {
    content: "";
    display: block;
    width: 52px;
    height: 4px;
    background: var(--accent);
    margin: 18px auto 0;
}

.form-layout,
.contact-grid,
.detail-layout,
.product-detail {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.detail-layout {
    grid-template-columns: 1fr;
}

.product-detail {
    grid-template-columns: 0.85fr 1.15fr;
}

.content {
    max-width: 880px;
}

.content li {
    margin-bottom: 6px;
}

.breadcrumbs,
.category {
    color: var(--muted);
}

.detail-image {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
    margin-bottom: 24px;
}

.action-row,
.shop-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.action-row {
    margin-top: 24px;
}

.shop-toolbar {
    justify-content: space-between;
    margin-bottom: 22px;
}

.product-card h2 a {
    color: var(--ink);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 22px;
}

.cart-table th,
.cart-table td {
    border-bottom: 1px solid var(--line);
    text-align: left;
    padding: 12px;
}

.narrow {
    max-width: 760px;
}

.form,
.contact-panel {
    border: 1px solid var(--line);
    padding: 24px;
    background: #fff;
}

.form {
    display: grid;
    gap: 16px;
}

label {
    display: grid;
    gap: 6px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #c8ced3;
    padding: 11px 12px;
    font: inherit;
    color: var(--ink);
    background: #fff;
}

textarea {
    resize: vertical;
}

small,
fieldset p {
    color: var(--muted);
    font-weight: 400;
}

fieldset {
    border: 1px solid var(--line);
    padding: 14px;
    display: grid;
    gap: 8px;
}

fieldset label {
    display: flex;
    align-items: center;
    gap: 8px;
}

fieldset input {
    width: auto;
}

.hp {
    position: absolute;
    left: -9999px;
}

.notice {
    margin: 24px 0 0;
    padding: 14px 16px;
    border-left: 5px solid;
    background: #fff;
}

.notice--ok {
    border-color: var(--ok);
}

.notice--error {
    border-color: var(--danger);
}

.footer {
    background: #1e2427;
    color: #fff;
    padding: 28px 0;
}

.footer a {
    color: #fff;
}

.footer__inner,
.footer__fineprint {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer__inner div {
    display: grid;
    gap: 4px;
}

.footer__fineprint {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    margin-top: 22px;
    padding-top: 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

@media (max-width: 850px) {
    .site-header__inner {
        align-items: flex-start;
        padding: 18px 0;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .primary-menu {
        display: none;
        position: absolute;
        top: 76px;
        left: 16px;
        right: 16px;
        background: #fff;
        border: 1px solid var(--line);
        padding: 16px;
        flex-direction: column;
        align-items: stretch;
    }

    .primary-menu.is-open {
        display: flex;
    }

    h1 {
        font-size: 36px;
    }

    .service-grid,
    .work-grid,
    .split,
    .form-layout,
    .contact-grid,
    .product-detail,
    .feature-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .topbar__inner {
        justify-content: center;
        gap: 8px 14px;
        padding: 6px 0;
        font-size: 12px;
        text-align: center;
    }

    .legacy-logo,
    .home-logo {
        font-size: 32px;
        margin-bottom: 34px;
    }

    .home-logo img {
        width: min(320px, 90vw);
    }

    .work-card {
        min-height: 0;
        padding: 18px;
    }

    .work-strip {
        justify-content: flex-start;
    }

    .service-grid {
        gap: 16px;
    }

    .form,
    .contact-panel {
        padding: 18px;
    }
}
