: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;
}

.mobile-logo {
    display: none;
}

.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: 20px;
    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;
}

.footer__legal {
    margin-top: 42px;
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #b8b8b8;
}

.footer__legal a {
    text-decoration: none;
}

.footer__legal a:hover {
    text-decoration: underline;
}

.footer__legal span {
    padding: 0 8px;
}


.legal-page {
    width: min(100% - 48px, var(--max-width));
    min-height: 100vh;
    margin: 0 auto;
    padding: 70px 0 42px;
    display: flex;
    flex-direction: column;
}

.legal-header {
    padding-bottom: 22px;
    border-bottom: 1px solid #d8d8d8;
}

.legal-logo {
    display: inline-block;
    width: 300px;
}

.legal-logo img {
    width: 100%;
    height: auto;
}

.legal-content {
    width: min(100%, 820px);
    padding: 56px 0 70px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-blue);
}

.legal-content h1 {
    margin: 0 0 34px;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-blue);
}

.legal-content h2 {
    margin: 38px 0 12px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-blue);
}

.legal-content p {
    margin: 0 0 18px;
}

.legal-content a {
    color: var(--color-gold);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-footer {
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid #e2e2e2;
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #b8b8b8;
}

.legal-footer a {
    text-decoration: none;
}

.legal-footer a:hover {
    text-decoration: underline;
}

.legal-footer span {
    padding: 0 8px;
}

@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 {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .footer__line {
        width: 100%;
        transform: none;
    }

    .footer__logo {
        width: 260px;
    }

    .footer__bottom {
        margin-top: 22px;
    }

    .footer__contact {
        padding-left: 0;
        padding-right: 0;
        white-space: normal;
    }
}

@media (max-width: 560px) {
    .page {
        width: 100%;
        padding: 0;
    }

    .mobile-logo {
        display: block;
        padding: 32px 24px 26px;
        background: #ffffff;
    }

    .mobile-logo img {
        width: 250px;
        max-width: 100%;
    }

    .hero {
        min-height: auto;
    }

    .hero__content {
        padding: 34px 24px 38px;
    }

    .hero__image {
        min-height: 220px;
    }

    .footer {
        margin-top: 0;
        padding: 34px 24px 38px;
    }

    .footer__top {
        display: block;
    }

    .footer__line {
		display: none;
    }

    .footer__logo {
        display: none;
    }

    .footer__bottom {
        margin-top: 24px;
    }

    .footer__contact {
        padding-left: 0;
        padding-right: 0;
        font-size: 0.88rem;
        line-height: 1.65;
        white-space: normal;
    }

	.footer__contact span {
		display: block;
		height: 0;
		overflow: hidden;
		font-size: 0;
		line-height: 0;
	}

	.footer__contact a {
		display: inline;
	}
	
	.footer__legal {
		margin-top: 28px;
		text-align: center;
		font-size: 0.76rem;
		color: #b8b8b8;
	}

	.footer__legal span {
		display: inline;
		padding: 0 7px;
	}
}
/* Legal */
@media (max-width: 560px) {
    .legal-page {
        width: 100%;
        padding: 32px 24px 34px;
    }

    .legal-header {
        padding-bottom: 30px;
    }

    .legal-logo {
        width: 250px;
    }

    .legal-content {
        padding: 40px 0 54px;
        font-size: 0.95rem;
    }

    .legal-content h1 {
        margin-bottom: 28px;
    }

    .legal-footer {
        font-size: 0.76rem;
    }
}