:root {
    --color-blue: #163655;
    --color-gold: #d9a72f;
    --color-text: #ffffff;
    --color-body: #ffffff;
    --color-muted: #6d6d6d;
    --max-width: 1140px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100%;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--color-blue);
    background: var(--color-body);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

.page {
    width: min(100% - 48px, var(--max-width));
    min-height: 100vh;
    margin: 0 auto;
    padding: 120px 0 70px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero {
    display: grid;
    grid-template-columns: 48% 52%;
    min-height: 370px;
    background: var(--color-blue);
}

.hero__content {
    padding: 34px 44px;
    color: var(--color-text);
}

.hero__eyebrow {
    margin: 0 0 36px;
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    line-height: 1.22;
    color: var(--color-gold);
}

.hero h1 {
    max-width: 520px;
    margin: 0 0 22px;
    font-size: clamp(1.75rem, 3.4vw, 2.55rem);
    font-weight: 400;
    line-height: 1.16;
}

.hero__text {
    max-width: 510px;
    margin: 0 0 28px;
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.55;
}

.hero__services {
    margin: 0;
    font-size: clamp(1rem, 1.4vw, 1.16rem);
    line-height: 1.45;
    color: var(--color-gold);
}

.hero__image {
    min-height: 370px;
    overflow: hidden;
    background: #d8e3ee;
}

.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer {
    margin-top: 160px;
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 10px;
}

.footer__line {
    height: 1px;
    background: #8f8f8f;
    transform: translateY(-2px);
}

.footer__logo {
    width: 300px;
    flex: 0 0 auto;
}

.footer__logo img {
    width: 100%;
    height: auto;
    display: block;
}

.footer__bottom {
    margin-top: -30px;
}

.footer__contact {
    padding-left: 48px;
    padding-right: 360px;
    font-size: 0.9rem;
    font-style: normal;
    line-height: 1.6;
    color: var(--color-gold);
    white-space: nowrap;
}

.footer__contact span {
    padding: 0 4px;
}

.footer__contact a {
    text-decoration: none;
}

.footer__contact a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .page {
        width: min(100% - 32px, var(--max-width));
        padding: 48px 0 40px;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero__content {
        padding: 32px 28px 36px;
    }

    .hero__eyebrow {
        margin-bottom: 28px;
    }

    .hero__image {
        min-height: 260px;
    }

    .footer {
        margin-top: 70px;
    }

    .footer__top {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }

    .footer__line {
        transform: none;
    }

    .footer__logo {
        width: 260px;
        justify-self: start;
    }

    .footer__bottom {
        margin-top: 20px;
    }

    .footer__contact {
        padding-left: 0;
        padding-right: 0;
        white-space: normal;
    }
}

@media (max-width: 560px) {
    .page {
        width: 100%;
        padding: 0;
    }

    .hero {
        min-height: auto;
    }

    .hero__content {
        padding: 34px 24px 38px;
    }

    .hero__image {
        min-height: 220px;
    }

    .footer {
        margin-top: 0;
        padding: 34px 24px 38px;
    }

    .footer__line {
        margin-bottom: 0;
    }

    .footer__logo {
        width: 230px;
    }

    .footer__contact {
        font-size: 0.88rem;
    }

    .footer__contact span {
        display: none;
    }

    .footer__contact a,
    .footer__contact {
        display: block;
    }
}