/* =========================================================
   ETHICS SECURITY SERVICE
   PREMIUM CONTACT TOPBAR
========================================================= */

.ess-topbar-pro {
    position: relative;

    width: 100%;

    color: #FFFFFF;

    background:
        linear-gradient(
            100deg,
            #06182A 0%,
            #0A213A 55%,
            #071B2E 100%
        );

    border-bottom:
        1px solid
        rgba(213,174,78,.28);

    overflow: hidden;
}


.ess-topbar-pro::before {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(218,181,90,.55),
            transparent
        );

    pointer-events: none;
}


.ess-topbar-pro > .container {
    width: 100%;
    max-width: 1380px;

    padding-left: 24px;
    padding-right: 24px;
}


.ess-topbar-pro-inner {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


/* =========================================================
   LEFT
========================================================= */

.ess-topbar-pro-left {
    display: flex;
    align-items: center;

    gap: 13px;

    min-width: 0;
}


.ess-topbar-location {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: #F3F5F7;

    font-size: 11px;
    font-weight: 700;

    white-space: nowrap;
}


.ess-topbar-location i {
    color: #D7B457;

    font-size: 12px;
}


.ess-topbar-line {
    width: 1px;
    height: 15px;

    flex: 0 0 1px;

    background:
        rgba(255,255,255,.18);
}


.ess-topbar-description {
    color:
        rgba(255,255,255,.78);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: .015em;

    white-space: nowrap;
}


/* =========================================================
   RIGHT
========================================================= */

.ess-topbar-pro-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 7px;

    flex-shrink: 0;
}


.ess-topbar-phone,
.ess-topbar-office,
.ess-topbar-copy {
    min-height: 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 0 10px;

    border-radius: 7px;

    font-family:
        Inter,
        sans-serif;

    font-size: 10px;
    font-weight: 700;

    line-height: 1;

    text-decoration: none !important;

    white-space: nowrap;

    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease,
        transform .18s ease;
}


/* PHONE */

.ess-topbar-phone {
    color: #FFFFFF !important;

    background:
        rgba(255,255,255,.055);

    border:
        1px solid
        rgba(255,255,255,.09);
}


.ess-topbar-phone i {
    color: #D7B457;
}


.ess-topbar-phone:hover {
    color: #FFFFFF !important;

    background:
        rgba(255,255,255,.11);

    border-color:
        rgba(255,255,255,.17);

    transform:
        translateY(-1px);
}


/* COPY */

.ess-topbar-copy {
    min-width: 64px;

    color: #071B2E;

    background:
        linear-gradient(
            135deg,
            #E5CA7A,
            #C99C43
        );

    border:
        1px solid
        rgba(255,255,255,.10);

    cursor: pointer;

    outline: 0;

    box-shadow:
        0 4px 12px
        rgba(0,0,0,.10);
}


.ess-topbar-copy:hover {
    color: #071B2E;

    transform:
        translateY(-1px);

    box-shadow:
        0 7px 15px
        rgba(0,0,0,.14);
}


.ess-topbar-copy.is-copied {
    color: #FFFFFF;

    background:
        #24734A;

    border-color:
        #24734A;
}


.ess-topbar-copy.is-copied i::before {
    content: "\f00c";
}


/* OFFICE */

.ess-topbar-office {
    color:
        rgba(255,255,255,.92) !important;

    background:
        transparent;

    border:
        1px solid
        rgba(215,180,87,.30);
}


.ess-topbar-office i {
    color: #D7B457;
}


.ess-topbar-office:hover {
    color: #FFFFFF !important;

    background:
        rgba(215,180,87,.10);

    border-color:
        rgba(215,180,87,.52);

    transform:
        translateY(-1px);
}


.ess-topbar-office-short {
    display: none;
}


/* =========================================================
   FIXED HEADER COMPENSATION - DESKTOP
========================================================= */

@media (min-width: 992px) {

    body {
        padding-top: 122px !important;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    /*
       Navbar 72px + compact topbar 40px.
    */

    body {
        padding-top: 112px !important;
    }


    .ess-topbar-pro > .container {
        padding-left: 14px;
        padding-right: 14px;
    }


    .ess-topbar-pro-inner {
        min-height: 40px;

        gap: 10px;
    }


    .ess-topbar-description {
        font-size: 9px;
    }


    .ess-topbar-phone,
    .ess-topbar-office,
    .ess-topbar-copy {
        min-height: 29px;

        padding-left: 8px;
        padding-right: 8px;

        font-size: 9px;
    }

}


/* =========================================================
   PHONE
========================================================= */

@media (max-width: 767.98px) {

    /*
       On phone keep the top strip compact.
       Do NOT stack it vertically.
    */

    .ess-topbar-pro-left {
        display: none;
    }


    .ess-topbar-pro-inner {
        min-height: 40px;

        width: 100%;
    }


    .ess-topbar-pro-right {
        width: 100%;

        display: grid;

        grid-template-columns:
            minmax(0,1fr)
            auto
            auto;

        gap: 6px;
    }


    .ess-topbar-phone,
    .ess-topbar-office,
    .ess-topbar-copy {
        min-height: 30px;

        border-radius: 6px;

        font-size: 10px;
    }


    .ess-topbar-phone {
        min-width: 0;

        justify-content: flex-start;

        overflow: hidden;
    }


    .ess-topbar-phone span {
        overflow: hidden;

        text-overflow: ellipsis;

        white-space: nowrap;
    }


    .ess-topbar-copy {
        min-width: 58px;
    }


    .ess-topbar-office-full {
        display: none;
    }


    .ess-topbar-office-short {
        display: inline;
    }

}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 390px) {

    .ess-topbar-pro > .container {
        padding-left: 8px;
        padding-right: 8px;
    }


    .ess-topbar-pro-right {
        gap: 4px;
    }


    .ess-topbar-phone,
    .ess-topbar-office,
    .ess-topbar-copy {
        padding-left: 7px;
        padding-right: 7px;

        font-size: 9px;
    }


    .ess-topbar-copy {
        min-width: 54px;
    }

}
