/* PlanKarta catalog header — service page parity */

header.pk-catalog-header {
    background:#fff;
    border-bottom:1px solid #dce5eb;
    padding:0;
    margin:0;
    font:16px/1.6 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
    color:#17293e;
    overflow-wrap:anywhere;
}

header.pk-catalog-header,
header.pk-catalog-header * {
    box-sizing:border-box;
}

header.pk-catalog-header .wrap.nav {
    width:min(1100px,calc(100% - 36px));
    max-width:none;
    margin:auto;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:72px;
    gap:16px;
}

header.pk-catalog-header a.logo.pk-seo-brand {
    display:inline-flex!important;
    align-items:center;
    gap:9px;
    text-decoration:none;
    white-space:nowrap;
    color:#0d3b61;
    font-weight:800;
    font-size:23px;
    letter-spacing:-.5px;
    line-height:1.6;
    margin:0;
    padding:0;
}

header.pk-catalog-header .pk-seo-brand img {
    display:block;
    flex:none;
    width:44px;
    height:44px;
    max-width:none;
    margin:0;
    padding:0;
}

header.pk-catalog-header .pk-seo-brand>span {
    color:#172033;
    font-size:20px;
    font-weight:800;
    line-height:1.1;
}

header.pk-catalog-header .pk-seo-brand>span>span {
    color:#15803d;
}

header.pk-catalog-header .nav nav {
    display:flex;
    flex-wrap:wrap;
    gap:24px;
    font-size:14px;
    line-height:1.6;
    padding:0;
    margin:0;
}

header.pk-catalog-header .nav nav a {
    color:#3a5265;
    text-decoration:none;
    font-size:15px;
    line-height:1.6;
    letter-spacing:normal;
    position:relative;
    display:inline-flex;
    align-items:center;
    padding:9px 13px;
    margin:0;
    border-radius:9px;
    font-weight:600;
    transition:background .15s,color .15s;
}

header.pk-catalog-header .nav nav a:hover,
header.pk-catalog-header .nav nav a:focus-visible {
    background:#eaf5ef;
    color:#126b50;
    text-decoration:none;
}

header.pk-catalog-header .nav nav a[aria-current="page"] {
    color:#137753;
}

header.pk-catalog-header .nav nav a[aria-current="page"]::after {
    content:"";
    position:absolute;
    left:13px;
    right:13px;
    bottom:4px;
    height:2px;
    border-radius:2px;
    background:#16805c;
}

@media(max-width:600px) {
    header.pk-catalog-header .wrap.nav {
        width:min(calc(100% - 28px),1100px);
        min-height:62px;
    }

    header.pk-catalog-header .nav nav {
        gap:12px;
        font-size:12px;
    }

    header.pk-catalog-header a.logo.pk-seo-brand {
        font-size:21px;
    }
}

@media(max-width:650px) {
    header.pk-catalog-header .nav nav a {
        padding:7px 9px;
    }

    header.pk-catalog-header .wrap.nav {
        flex-wrap:wrap;
        padding-top:10px;
        padding-bottom:10px;
    }

    header.pk-catalog-header .pk-seo-brand img {
        width:36px;
        height:36px;
    }

    header.pk-catalog-header .nav nav {
        width:100%;
        gap:8px 16px;
    }
}
