* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --blue: #0f5fb8;
    --blue-dark: #0b4e98;
    --nav-text: #2d4668;
    --muted: #7a8291;
    --border: #e9eef5;
    --bg: #ffffff;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fb;
}

.site-header {
    width: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 320px;
}

.brand-logo {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: block;
}

.brand-text {
    line-height: 1.08;
}

.brand-title {
    font-size: 18px;
    font-weight: 700;
    color: #244d88;
    white-space: nowrap;
}

.brand-subtitle {
    margin-top: 4px;
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-left: auto;
}

.nav a {
    position: relative;
    text-decoration: none;
    color: var(--nav-text);
    font-size: 15px;
    font-weight: 500;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: var(--blue);
}

.nav a.active {
    color: var(--blue);
    font-weight: 600;
}

.nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 3px;
    border-radius: 999px;
    background: var(--blue);
}

.contact-btn {
    text-decoration: none;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 19px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(15, 95, 184, 0.2);
    white-space: nowrap;
}

.contact-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

@media (max-width: 1100px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .brand {
        width: 100%;
        justify-content: center;
    }

    .nav {
        flex-wrap: wrap;
        margin-left: 0;
    }
}

@media (max-width: 680px) {
    .header-container {
        padding: 14px 16px;
        gap: 16px;
    }

    .brand {
        min-width: auto;
        justify-content: center;
    }

    .brand-title {
        font-size: 16px;
    }

    .brand-subtitle {
        font-size: 11px;
    }

    .nav {
        gap: 16px;
    }

    .nav a {
        font-size: 14px;
    }
}