:root {
    --color-ink: #202326;
    --color-muted: #5c6670;
    --color-line: #d9dee3;
    --color-surface: #f7f8f9;
    --color-navy: #00204c;
    --color-blue: #003a70;
    --color-sky: #75a9d8;
    --color-olive: #abad97;
    --font-base: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    color: var(--color-ink);
    font-family: var(--font-base);
    line-height: 1.5;
}

body {
    margin: 0;
    background: #fff;
}

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

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

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

.container.narrow {
    width: min(720px, calc(100% - 40px));
}

.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;
}

.site-header {
    position: relative;
    z-index: 20;
    color: #fff;
    background: rgba(0, 58, 112, 0.85);
}

.header-top {
    min-height: 38px;
    background: rgba(0, 58, 112, 0.85);
}

.header-top-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 38px;
}

.header-top p {
    margin: 0;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
}

.header-main {
    background: rgba(0, 58, 112, 0.85);
}

.header-main-inner {
    display: flex;
    align-items: center;
    min-height: 118px;
    gap: 28px;
}

.site-logo {
    flex: 0 0 auto;
}

.site-logo img {
    width: 245px;
    max-width: 28vw;
}

.header-nav-wrap {
    display: flex;
    justify-content: flex-end;
    flex: 1 1 auto;
}

.site-nav .primary-menu,
.site-nav .sub-menu {
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-nav .primary-menu {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 0;
}

.site-nav .menu-item {
    position: relative;
}

.site-nav .primary-menu > .menu-item > a {
    display: flex;
    align-items: center;
    min-height: 118px;
    padding: 0 12px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 160ms ease;
}

.site-nav .primary-menu > .menu-item > a:hover,
.site-nav .primary-menu > .menu-item:focus-within > a {
    color: var(--color-sky);
}

.site-nav .has-submenu > a::after {
    content: "";
    width: 0;
    height: 0;
    margin-left: 7px;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    border-top: 5px solid currentColor;
}

.site-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 14px 0;
    background: rgba(0, 32, 76, 0.96);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.site-nav .menu-item:hover > .sub-menu,
.site-nav .menu-item:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-nav .sub-menu a {
    display: block;
    padding: 8px 22px;
    color: #c6c7b9;
    font-size: 0.88rem;
    line-height: 1.35;
    text-decoration: none;
}

.site-nav .sub-menu a:hover,
.site-nav .sub-menu a:focus-visible {
    color: #fff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
}

.header-icon-button,
.mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font: inherit;
}

.header-icon-button {
    width: 24px;
    height: 24px;
    padding: 0;
    overflow: hidden;
    text-indent: -999px;
}

.header-actions .header-icon-button {
    cursor: default;
}

.header-icon-button:first-child::before {
    content: "";
    width: 13px;
    height: 13px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.header-icon-button:first-child::after {
    content: "";
    width: 8px;
    height: 2px;
    margin-left: -2px;
    margin-top: 12px;
    background: currentColor;
    transform: rotate(45deg);
}

.header-menu-mark span,
.header-menu-mark::before,
.header-menu-mark::after,
.mobile-menu-icon,
.mobile-menu-icon::before,
.mobile-menu-icon::after {
    display: block;
    width: 19px;
    height: 2px;
    background: currentColor;
}

.header-menu-mark,
.mobile-menu-icon {
    position: relative;
}

.header-menu-mark::before,
.header-menu-mark::after,
.mobile-menu-icon::before,
.mobile-menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.header-menu-mark::before,
.mobile-menu-icon::before {
    top: -6px;
}

.header-menu-mark::after,
.mobile-menu-icon::after {
    top: 6px;
}

.mobile-menu-toggle {
    display: none;
    width: 36px;
    height: 36px;
    padding: 0;
}

.site-main {
    min-height: calc(100vh - 145px);
}

.home-slider {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    background: var(--color-surface);
}

.home-slide {
    position: absolute;
    inset: 0;
}

.home-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-slide-preview {
    opacity: 0;
    pointer-events: none;
}

.home-slide-copy {
    position: absolute;
    left: 50%;
    width: min(920px, calc(100% - 40px));
    transform: translateX(-50%);
    text-align: center;
}

.home-slide-copy-top {
    top: 120px;
}

.slide-title,
.slide-subtitle {
    display: inline-block;
    margin: 0;
    color: var(--color-navy);
    background: rgba(255, 255, 255, 0.55);
}

.slide-title {
    padding: 4px 12px;
    font-size: clamp(1.35rem, 4vw, 1.875rem);
    font-weight: 700;
    text-transform: uppercase;
}

.slide-subtitle {
    margin-top: 10px;
    padding: 5px 10px;
    color: var(--color-blue);
    font-size: 1.125rem;
}

.help-intro {
    padding: 16px 0;
    text-align: center;
}

.help-intro h1,
.services-section h2 {
    margin: 0;
    color: var(--color-navy);
    font-size: clamp(1.9rem, 4vw, 2.625rem);
    font-weight: 500;
    line-height: 1.2;
}

.coverage-choice {
    padding: 0 0 40px;
    background: var(--color-navy);
    text-align: center;
}

.section-arrow {
    width: 115px;
    margin: 0 auto 30px;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 300px));
    justify-content: center;
    gap: 28px;
    margin-bottom: 28px;
}

.coverage-grid a,
.service-card {
    display: block;
}

.coverage-callout {
    margin: 0;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.45;
}

.services-section {
    padding: 34px 0 44px;
    text-align: center;
}

.section-subtitle,
.promise-text {
    max-width: 940px;
    margin: 10px auto 0;
    color: var(--color-navy);
    font-size: 1.15rem;
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    margin: 36px 0 34px;
}

.service-card {
    color: var(--color-navy);
    text-decoration: none;
}

.service-image-stack {
    position: relative;
    display: block;
    width: min(142px, 100%);
    margin: 0 auto 18px;
}

.service-image-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 160ms ease;
}

.service-card:hover .service-image-hover,
.service-card:focus-visible .service-image-hover {
    opacity: 1;
}

.service-card h3 {
    margin: 0;
    color: var(--color-navy);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.3;
}

.promise-text {
    padding-top: 30px;
    border-top: 30px solid #fff;
    line-height: 1.55;
}

.about-section {
    padding: 68px 0;
    border-top: 30px solid var(--color-sky);
    background: url('/assets/images/home-copy-bg-wh.jpg') center / cover no-repeat;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr) minmax(80px, 1fr);
    gap: 42px;
}

.about-grid h2,
.about-copy h3 {
    margin: 0;
    color: var(--color-navy);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.25;
}

.about-copy {
    color: #333;
}

.about-copy p {
    margin: 0 0 22px;
}

.about-copy h3 {
    margin-top: 36px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    border: 1px solid var(--color-sky);
    background: var(--color-sky);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.button-outline {
    border-color: var(--color-navy);
    background: transparent;
    color: var(--color-navy);
}

.contact-banner {
    min-height: 430px;
    padding: 72px 0;
    background: url('/assets/images/hand-shake-3.jpg') center / cover no-repeat;
}

.contact-banner-inner {
    display: flex;
    justify-content: flex-end;
}

.contact-panel {
    max-width: 460px;
    text-align: right;
}

.contact-panel h2 {
    margin: 0 0 20px;
    color: var(--color-sky);
    font-size: clamp(1.55rem, 4vw, 2rem);
    line-height: 1.35;
}

.contact-panel h2 span,
.contact-panel p {
    color: #fff;
}

.contact-panel p {
    margin: 18px 0 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.site-footer {
    color: #c6c7b9;
    background: var(--color-navy);
}

.footer-top {
    padding: 60px 0;
    background: #01204c;
}

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

.footer-column {
    min-height: 180px;
    padding: 0 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.55);
}

.footer-column:first-child {
    padding-left: 0;
    border-left: 0;
}

.footer-column h2,
.footer-section-link {
    display: block;
    margin: 0 0 8px;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.9;
    text-decoration: none;
    text-transform: uppercase;
}

.footer-column nav,
.footer-social {
    display: grid;
    gap: 0;
}

.footer-column a {
    color: #b1b2a5;
    font-size: 0.875rem;
    line-height: 2.35;
    text-decoration: none;
}

.footer-column a:hover {
    color: #fff;
}

.footer-section-link {
    margin-top: 28px;
}

.footer-social {
    grid-template-columns: repeat(3, max-content);
    gap: 18px;
    margin-top: 18px;
}

.footer-social a {
    color: var(--color-olive);
    font-size: 0.78rem;
    line-height: 1;
    text-transform: uppercase;
}

.footer-bottom {
    min-height: 145px;
    padding: 30px 0;
    border-top: 1px solid #2f352b;
    background: var(--color-navy);
}

.footer-bottom-inner {
    color: #fff;
    font-size: 0.82rem;
    line-height: 1.55;
    text-align: center;
}

.footer-bottom p {
    margin: 0 0 12px;
}

.content-section {
    padding: 80px 0;
}

@media (max-width: 1100px) {
    .header-main-inner {
        gap: 18px;
    }

    .site-logo img {
        width: 220px;
    }

    .site-nav .primary-menu > .menu-item > a {
        padding: 0 8px;
        font-size: 0.72rem;
    }
}

@media (max-width: 900px) {
    .header-top {
        display: none;
    }

    .header-main-inner {
        position: relative;
        min-height: 82px;
        justify-content: space-between;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        order: 0;
    }

    .site-logo {
        order: 1;
    }

    .site-logo img {
        width: 210px;
        max-width: 58vw;
    }

    .header-actions {
        order: 2;
    }

    .header-nav-wrap {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        padding: 0 20px 18px;
        background: rgba(0, 58, 112, 0.98);
    }

    .header-nav-wrap.is-open {
        display: block;
    }

    .site-nav .primary-menu {
        display: block;
    }

    .site-nav .primary-menu > .menu-item > a {
        min-height: 0;
        padding: 13px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        font-size: 0.86rem;
    }

    .site-nav .has-submenu > a::after {
        margin-left: auto;
    }

    .site-nav .sub-menu {
        position: static;
        min-width: 0;
        padding: 0 0 10px 18px;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .site-nav .sub-menu a {
        padding: 6px 0;
    }

    .home-slider {
        min-height: 520px;
    }

    .services-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-column {
        padding: 0 24px 28px;
        margin-bottom: 28px;
    }

    .footer-column:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .header-main-inner {
        min-height: 76px;
        gap: 12px;
    }

    .site-logo img {
        width: 190px;
        max-width: 56vw;
    }

    .header-actions {
        gap: 12px;
    }

    .home-slider {
        min-height: 430px;
    }

    .home-slide-copy-top {
        top: 72px;
    }

    .coverage-grid,
    .services-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-column,
    .footer-column:nth-child(odd) {
        min-height: 0;
        padding: 0 0 26px;
        margin-bottom: 26px;
        border-left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .footer-column:last-child {
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: 0;
    }

    .coverage-grid a {
        justify-self: center;
    }

    .contact-banner-inner {
        justify-content: flex-start;
    }

    .contact-panel {
        text-align: left;
    }
}
