:root {
    --umh-blue: #06285c;
    --umh-blue-deep: #031732;
    --umh-blue-soft: #0f3d7c;
    --umh-silver: #9aa3af;
    --umh-silver-light: #d9dee6;
    --umh-text: #132033;
    --umh-muted: #5b6472;
    --umh-glass: rgba(255, 255, 255, .88);
    --umh-shadow: 0 18px 50px rgba(3, 23, 50, .12);
}

html { scroll-padding-top: 110px; }
body { padding-top: 96px !important; }
.admin-bar body { padding-top: 96px !important; }

#masthead,
.site-header,
.ast-primary-header-bar,
.main-header-bar,
.ast-mobile-header-wrap,
.ast-above-header-wrap,
.ast-below-header-wrap {
    display: none !important;
}

.page .entry-header,
.home .entry-header,
.page .entry-title,
.home .entry-title {
    display: none !important;
}

#um-advisory-premium-header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 99999;
    background: var(--umh-glass);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(154, 163, 175, .30);
    box-shadow: 0 8px 32px rgba(3, 23, 50, .07);
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.admin-bar #um-advisory-premium-header { top: 32px; }

#um-advisory-premium-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(6, 40, 92, .55) 18%, rgba(217, 222, 230, .90) 50%, rgba(6, 40, 92, .42) 82%, transparent 100%);
    pointer-events: none;
}

#um-advisory-premium-header.umh-scrolled {
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--umh-shadow);
    border-color: rgba(154, 163, 175, .42);
}

.um-premium-header__inner {
    width: min(1340px, calc(100% - 56px));
    min-height: 96px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 26px;
    transition: min-height .25s ease;
}

#um-advisory-premium-header.umh-scrolled .um-premium-header__inner { min-height: 82px; }

.um-premium-header__logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    text-decoration: none !important;
}

.um-premium-header__logo img {
    width: 225px;
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(3, 23, 50, .08));
    transition: transform .25s ease, filter .25s ease, width .25s ease;
}

#um-advisory-premium-header.umh-scrolled .um-premium-header__logo img { width: 205px; }
.um-premium-header__logo:hover img { transform: translateY(-1px); filter: drop-shadow(0 12px 22px rgba(3, 23, 50, .13)); }

.um-premium-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
    min-width: 0;
}

.um-premium-nav a {
    color: var(--umh-blue-deep) !important;
    text-decoration: none !important;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
    padding: 16px 12px;
    border-radius: 999px;
    position: relative;
    transition: color .22s ease, background .22s ease, transform .22s ease;
}

.um-premium-nav a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 9px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--umh-blue), var(--umh-silver-light));
    transition: transform .24s ease;
}

.um-premium-nav a:hover {
    color: var(--umh-blue) !important;
    background: rgba(6, 40, 92, .045);
    transform: translateY(-1px);
}
.um-premium-nav a:hover::after { transform: scaleX(1); }

.um-premium-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    white-space: nowrap;
}

.um-premium-client,
.um-premium-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    border-radius: 999px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .025em;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}

.um-premium-client {
    color: var(--umh-blue) !important;
    padding: 0 15px;
    border: 1px solid rgba(6, 40, 92, .18);
    background: rgba(255,255,255,.60);
}
.um-premium-client:hover { background: rgba(6,40,92,.06); transform: translateY(-1px); }

.um-premium-cta {
    color: #fff !important;
    padding: 0 21px;
    background: linear-gradient(135deg, var(--umh-blue) 0%, var(--umh-blue-soft) 58%, #183f77 100%);
    box-shadow: 0 14px 30px rgba(6, 40, 92, .24);
    border: 1px solid rgba(255,255,255,.28);
}
.um-premium-cta:hover { transform: translateY(-2px); box-shadow: 0 20px 42px rgba(6, 40, 92, .32); }

.um-premium-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(6,40,92,.18) !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.72) !important;
    box-shadow: none !important;
    padding: 0 !important;
    cursor: pointer;
}
.um-premium-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 99px;
    background: var(--umh-blue);
    transition: transform .22s ease, opacity .22s ease;
}
.umh-open .um-premium-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.umh-open .um-premium-toggle span:nth-child(2) { opacity: 0; }
.umh-open .um-premium-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.um-premium-mobile {
    display: none;
    width: min(1340px, calc(100% - 56px));
    margin: 0 auto 18px;
    padding: 16px;
    border: 1px solid rgba(154,163,175,.32);
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 20px 50px rgba(3, 23, 50, .13);
}
.um-premium-mobile a {
    display: block;
    color: var(--umh-blue-deep) !important;
    text-decoration: none !important;
    font-weight: 750;
    padding: 13px 14px;
    border-radius: 14px;
}
.um-premium-mobile a:hover { background: rgba(6,40,92,.06); }
.um-premium-mobile .um-premium-mobile-cta {
    color: #fff !important;
    text-align: center;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--umh-blue), var(--umh-blue-soft));
}

@media (max-width: 1220px) {
    .um-premium-header__inner { width: min(1180px, calc(100% - 36px)); grid-template-columns: 215px minmax(0, 1fr) auto; column-gap: 14px; }
    .um-premium-header__logo img { width: 198px; }
    #um-advisory-premium-header.umh-scrolled .um-premium-header__logo img { width: 185px; }
    .um-premium-nav a { font-size: 12px; padding: 15px 9px; letter-spacing: .022em; }
    .um-premium-client { display: none; }
    .um-premium-cta { padding: 0 16px; min-height: 41px; font-size: 12px; }
}

@media (max-width: 980px) {
    body { padding-top: 84px !important; }
    .um-premium-header__inner { min-height: 84px; width: calc(100% - 28px); grid-template-columns: 205px 1fr auto; column-gap: 12px; }
    #um-advisory-premium-header.umh-scrolled .um-premium-header__inner { min-height: 76px; }
    .um-premium-header__logo img, #um-advisory-premium-header.umh-scrolled .um-premium-header__logo img { width: 190px; }
    .um-premium-nav, .um-premium-actions { display: none; }
    .um-premium-toggle { display: inline-block; justify-self: end; }
    #um-advisory-premium-header.umh-open .um-premium-mobile { display: block; }
}

@media (max-width: 782px) {
    .admin-bar #um-advisory-premium-header { top: 46px; }
}

@media (max-width: 560px) {
    body { padding-top: 78px !important; }
    .um-premium-header__inner { min-height: 78px; grid-template-columns: 170px 1fr auto; }
    .um-premium-header__logo img, #um-advisory-premium-header.umh-scrolled .um-premium-header__logo img { width: 165px; }
    .um-premium-mobile { width: calc(100% - 28px); }
}
