/* Utility bar above the header.
   Gold bar with navy text, per the redesign — it reads as a band of its own
   above the navy header rather than a second navy tier. */

.ngb-topbar {
    --t-bg:   #ECB62E;
    --t-text: #002145;
    --t-hover:#002145;
    --t-line: rgba(0, 33, 69, 0.18);

    background: var(--t-bg);
    border-bottom: 1px solid rgba(0, 33, 69, 0.12);
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.2;
    position: relative;
    z-index: 5;
}

.ngb-topbar__inner {
    width: 95%;
    max-width: 1600px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 38px;
}

/* ---------- contacts ---------- */
.ngb-topbar__contact,
.ngb-topbar__social {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.ngb-topbar__contact { gap: 0; flex-wrap: wrap; }

.ngb-topbar__contact > li + li {
    border-left: 1px solid var(--t-line);
    margin-left: 16px;
    padding-left: 16px;
}

.ngb-topbar__contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--t-text);
    text-decoration: none;
    /* medium, not semibold: this bar is secondary to the nav below it and
       should not compete with it — but 400 goes weak at 13px on dark */
    font-weight: 500;
    padding: 9px 0;
    transition: color .15s ease;
}
.ngb-topbar__contact a:hover,
.ngb-topbar__contact a:focus-visible {
    color: var(--t-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ngb-topbar svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    fill: currentColor;
    display: block;
}

/* ---------- social ---------- */
.ngb-topbar__social { gap: 2px; }
.ngb-topbar__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--t-text);
    border-radius: 3px;
    transition: color .15s ease, background-color .15s ease;
}
.ngb-topbar__social a:hover,
.ngb-topbar__social a:focus-visible {
    color: #ECB62E;
    background: #002145;
}
.ngb-topbar__social svg { width: 17px; height: 17px; }

.ngb-topbar a:focus-visible {
    outline: 2px solid #002145;
    outline-offset: 2px;
}

/* ---------- narrow ----------
   Address is the first to go: it is the longest string and the least
   actionable on a phone. Below 600px only the number survives, full width and
   centred, because on a phone calling is the whole point of this bar. */
@media (max-width: 1100px) {
    .ngb-topbar__addr { display: none; }
}

@media (max-width: 860px) {
    .ngb-topbar { font-size: 12px; }
    .ngb-topbar__inner { width: 96%; gap: 12px; }
    .ngb-topbar__social a { width: 26px; height: 26px; }
}

@media (max-width: 600px) {
    /* phone left, messaging icons right: on a phone Viber/WhatsApp are often the
       first way a buyer gets in touch, so they stay; only email is dropped.
       Edges match the header (logo 5% from the left, same 5% on the right). */
    .ngb-topbar__email { display: none; }
    .ngb-topbar__inner {
        width: auto;
        margin: 0 5vw;
        justify-content: space-between;
        min-height: 38px;
        gap: 8px;
    }
    .ngb-topbar__contact > li + li { border-left: none; margin-left: 0; padding-left: 0; }
    .ngb-topbar__phone a { font-size: 13px; }
    .ngb-topbar__social { gap: 4px; }
    .ngb-topbar__social a { width: 30px; height: 30px; }   /* tap area stays generous */
    .ngb-topbar__social svg { width: 14px; height: 14px; } /* matches the 13px phone number */
}

@media (prefers-reduced-motion: reduce) {
    .ngb-topbar a { transition: none; }
}
