* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #243f63;
    background: #fff;
}

a {
    color: inherit;
}

.site-header {
    width: 100%;
}

.top-header {
    height: 74px;
    background: #263f61;
    border-bottom: 2px solid #fff;
}

.header-inner {
    width: min(1280px, 100%);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

.brand {
    width: 300px;
    display: flex;
    align-items: stretch;
    text-decoration: none;
    position: relative;
}

.brand-mark {
    width: 8px;
    margin-left: 28px;
    background: #e54855;
    height: 20px;
}

.brand-logo {
    width: 220px;
    height: 100%;
    margin-left: 0;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    max-width: 145px;
    max-height: 58px;
    object-fit: contain;
}

.account-area {
    position: relative;
    height: 100%;
}

.account-button {
    height: 100%;
    min-width: 155px;
    padding: 0 18px;
    border: 0;
    border-left: 1px solid rgba(255,255,255,.15);
    border-right: 1px solid rgba(255,255,255,.15);
    background: #fff;
    color: #263f61;
    font-size: 13px;
    cursor: pointer;
}

.account-arrow {
    margin-left: 8px;
    font-size: 12px;
}

.account-menu {
    position: absolute;
    top: 74px;
    right: 0;
    width: 180px;
    background: #fff;
    border: 1px solid #dce3eb;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    display: none;
    z-index: 1000;
}

.account-menu.show {
    display: block;
}

.account-menu a {
    display: block;
    padding: 14px 18px;
    text-decoration: none;
    color: #263f61;
    font-size: 14px;
    border-bottom: 1px solid #edf0f3;
}

.account-menu a:hover {
    background: #f3f6fa;
}

.main-nav {
    height: 50px;
    background: #263f61;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.nav-inner {
    width: min(1280px, 100%);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    margin-left: 195px;
}

.nav-links a {
    min-width: 100px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-left: 1px solid rgba(255,255,255,.22);
}

.nav-links a:last-child {
    border-right: 1px solid rgba(255,255,255,.22);
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255,255,255,.06);
}

.language-links {
    display: flex;
    align-items: center;
    padding-right: 30px;
    gap: 7px;
    color: #fff;
    font-size: 11px;
}

.language-links a {
    text-decoration: none;
    opacity: .95;
}

.language-links a.active {
    font-weight: 700;
}

.hero {
    height: 385px;
    background-image:
        linear-gradient(rgba(20,38,60,.12), rgba(20,38,60,.12)),
        url('/assets/images/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content {
    width: min(850px, 90%);
    margin-top: -5px;
}

.hero h1 {
    margin: 0 0 26px;
    font-size: 46px;
    line-height: 1.15;
    font-weight: 700;
}

.hero p {
    margin: 0 auto;
    max-width: 850px;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 600;
}

.services {
    width: min(900px, calc(100% - 50px));
    margin: 66px auto 90px;
    display: grid;
    grid-template-columns: 350px 1fr;
    column-gap: 45px;
}

.services-title {
    padding-top: 2px;
}

.services-title h2 {
    margin: 0;
    font-size: 32px;
    line-height: 1.25;
    color: #263f61;
}

.service-card {
    border-left: 9px solid #5596df;
    padding: 0 0 0 37px;
    min-height: 190px;
}

.service-card h2 {
    margin: 0 0 29px;
    font-size: 28px;
    color: #263f61;
}

.service-card p {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.55;
    color: #263f61;
    max-width: 600px;
}

.service-button {
    display: inline-block;
    padding: 12px 20px;
    background: #263f61;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
}

.service-button:hover {
    background: #1d3351;
}

@media (max-width: 900px) {
    .header-inner,
    .nav-inner {
        width: 100%;
    }

    .brand {
        width: auto;
    }

    .brand-logo {
        width: 180px;
    }

    .nav-links {
        margin-left: 0;
    }

    .nav-links a {
        min-width: auto;
        padding: 0 13px;
    }

    .services {
        grid-template-columns: 1fr;
        row-gap: 35px;
    }
}

@media (max-width: 650px) {
    .top-header {
        height: 65px;
    }

    .brand-mark {
        margin-left: 10px;
    }

    .brand-logo {
        width: 150px;
    }

    .brand-logo img {
        max-width: 120px;
    }

    .account-button {
        min-width: 120px;
        font-size: 11px;
    }

    .main-nav {
        height: auto;
    }

    .nav-inner {
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
    }

    .nav-links a {
        flex: 1;
        padding: 13px 5px;
        font-size: 12px;
    }

    .language-links {
        height: 34px;
        justify-content: center;
        padding: 0;
    }

    .hero {
        height: 300px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 14px;
    }

    .services {
        width: calc(100% - 35px);
        margin-top: 45px;
    }

    .services-title h2 {
        font-size: 27px;
    }

    .service-card h2 {
        font-size: 25px;
    }
}
