/* =============================================
   TOPBAR — PREMIUM GREEN + WHITE EDITION
   ============================================= */
.topbar {
    display: none;
    height: 44px;
    position: relative;
    overflow: hidden;
    background: #fff;
    border-bottom: 2px solid #e8f5e9;
    box-shadow: 0 2px 16px rgba(22, 163, 74, 0.1);
}
@media (min-width: 992px) {
    .topbar {
        display: block;
    }
}

/* Thin animated green top border */
.topbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        #064e28,
        #16a34a,
        #4ade80,
        #bbf7d0,
        #4ade80,
        #16a34a,
        #064e28
    );
    background-size: 300% 100%;
    animation: borderFlow 5s linear infinite;
    z-index: 10;
}
@keyframes borderFlow {
    0% {
        background-position: 0% 0;
    }
    100% {
        background-position: 300% 0;
    }
}

.topbar-inner {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 0;
}

/* ---- LEFT BLOCK ---- */
.topbar-left {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    overflow: hidden;
    height: 100%;
}

/* 24/7 pill - green filled */
.hours-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    border-radius: 0 0 14px 0;
    padding: 0 18px 0 0;
    height: 100%;
    padding-left: 0;
    font-size: 0.73rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 20px;
    padding: 0 22px;
    box-shadow: 4px 0 14px rgba(22, 163, 74, 0.2);
    animation: slideFromLeft 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    position: relative;
}
.hours-pill::after {
    content: "";
    position: absolute;
    top: 0;
    right: -10px;
    width: 20px;
    height: 100%;
    background: linear-gradient(135deg, #16a34a, #15803d);
    clip-path: polygon(0 0, 0 100%, 100% 100%);
}
@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Live pulsing dot */
.live-dot {
    width: 8px;
    height: 8px;
    position: relative;
    flex-shrink: 0;
}
.live-dot span {
    display: block;
    width: 8px;
    height: 8px;
    background: #bbf7d0;
    border-radius: 50%;
}
.live-dot::after {
    content: "";
    position: absolute;
    inset: -3px;
    border: 1.5px solid rgba(187, 247, 208, 0.6);
    border-radius: 50%;
    animation: liveRing 1.8s ease-out infinite;
}
@keyframes liveRing {
    0% {
        opacity: 0.9;
        transform: scale(0.5);
    }
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

/* Ticker */
.ticker-wrap {
    flex: 1;
    overflow: hidden;
    min-width: 0;
    mask-image: linear-gradient(
        90deg,
        transparent,
        black 5%,
        black 95%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent,
        black 5%,
        black 95%,
        transparent
    );
}
.ticker-track {
    display: flex;
    width: max-content;
    gap: 50px;
    animation: tick 24s linear infinite;
}
.ticker-track:hover {
    animation-play-state: paused;
}
@keyframes tick {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
.ticker-track .t-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #166534;
    white-space: nowrap;
}
.ticker-track .t-item i {
    font-size: 0.7rem;
    color: #22c55e;
}
.ticker-track .t-sep {
    color: #86efac;
    font-size: 0.9rem;
}

/* ---- RIGHT BLOCK ---- */
.topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    height: 100%;
}

/* Contact chips - outlined green on white */
.c-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 7px;
    border-radius: 30px;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 800;
    color: #15803d;
    white-space: nowrap;
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.c-chip:nth-child(1) {
    animation: slideFromRight 0.5s ease 0.1s both;
}
.c-chip:nth-child(2) {
    animation: slideFromRight 0.5s ease 0.25s both;
}
@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.c-chip:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.28);
}
.c-chip .c-ico {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.6rem;
    color: #fff;
    transition: transform 0.22s ease;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.3);
}
.c-chip:hover .c-ico {
    background: rgba(255, 255, 255, 0.22);
    transform: rotate(-10deg) scale(1.1);
    box-shadow: none;
}
