/* Shared styles for landing pages (welcome + tracking-demo) */
:root {
    --brand-yellow: #FECC36; /* Pantone 116C */
    --brand-blue: #20539A;
    --brand-blue-soft: #20539A;
}

.container {
    width: min(1140px, 92%);
    margin: 0 auto;
}

.topbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 40;
    background: linear-gradient(90deg, #FECC36 0%, #FECC36 100%);
    border-bottom: 2px solid rgba(4, 30, 66, 0.30);
    backdrop-filter: blur(10px);
    transition: background .24s cubic-bezier(.2, .75, .2, 1), border-color .24s cubic-bezier(.2, .75, .2, 1);
}

.topbar--with-ticker {
    border-bottom: 0;
}

.topbar.scrolled {
    background: linear-gradient(90deg, #FECC36 0%, #FECC36 100%);
    border-color: rgba(4, 30, 66, 0.42);
}

.topbar--with-ticker + main .hero {
    padding-top: 168px;
}

.nav {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.nav-inline-form {
    margin: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--brand-blue);
    font-family: Verdana, DejaVu Sans, sans-serif;
    font-weight: 700;
    letter-spacing: .2px;
    text-decoration: none;
}

.brand:visited,
.brand:hover,
.brand:active {
    color: var(--brand-blue);
    text-decoration: none;
}

.brand span {
    font-size: clamp(1.02rem, 1.35vw, 1.5rem);
    line-height: 1;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .2px;
    padding: .22rem .58rem;
    border-radius: 999px;
    background: rgba(32, 83, 154, .10);
    border: 1px solid rgba(32, 83, 154, .24);
}

.brand img {
    width: 178px;
    height: 96px;
    object-fit: contain;
}

.menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: rgba(4, 30, 66, 0.95);
    font-size: .95rem;
    font-weight: 500;
}

.cb-news-ticker {
    background: linear-gradient(90deg, #123b88 0%, #0d2b63 100%);
    color: #fff;
    border-bottom: 2px solid #FECC36;
}

.cb-news-ticker__inner {
    min-height: 42px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 0 18px;
}

.cb-news-ticker__inner--static {
    grid-template-columns: auto auto;
    justify-content: center;
}

.cb-news-ticker__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 14px;
    border-radius: 999px;
    background: #FECC36;
    color: #123b88;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(254, 204, 54, .28);
}

.cb-news-ticker__viewport {
    min-width: 0;
    overflow: hidden;
    position: relative;
}

.cb-news-ticker__viewport--static {
    overflow: visible;
}

.cb-news-ticker__track {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 0;
    animation: cbNewsTickerScroll 32s linear infinite;
    will-change: transform;
}

.cb-news-ticker__viewport:hover .cb-news-ticker__track {
    animation-play-state: paused;
}

.cb-news-ticker__viewport--static .cb-news-ticker__track {
    width: auto;
    animation: none;
}

.cb-news-ticker__item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 0 28px 0 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    white-space: nowrap;
    transition: opacity .18s cubic-bezier(.2, .75, .2, 1);
}

.cb-news-ticker__item:hover,
.cb-news-ticker__item:focus-visible {
    opacity: .86;
    color: inherit;
    text-decoration: none;
}

.cb-news-ticker__item::after {
    content: "";
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, .32);
}

.cb-news-ticker__item:last-child::after {
    display: none;
}

.cb-news-ticker__viewport--static .cb-news-ticker__item {
    width: auto;
    padding-right: 0;
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
    line-height: 1.35;
    max-width: min(1100px, calc(100vw - 220px));
}

.cb-news-ticker__item-text {
    display: inline-block;
    max-width: 100%;
}

@keyframes cbNewsTickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.menu-client-access-item {
    display: none;
}

.menu-shipping-access-item {
    display: none;
}

.menu a {
    position: relative;
    padding-bottom: .15rem;
    color: inherit;
    text-decoration: none;
}

.menu a:visited {
    color: inherit;
    text-decoration: none;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -.22rem;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s cubic-bezier(.2, .75, .2, 1);
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue));
}

.menu a:hover::after { transform: scaleX(1); }

.menu a.is-active::after { transform: scaleX(1); }

.menu-client-access {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    padding: .64rem .95rem !important;
    border-radius: 18px;
    border: 1px solid rgba(32, 83, 154, .18);
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 4px 10px rgba(20, 53, 101, .08);
    transition: transform .2s cubic-bezier(.2, .75, .2, 1), box-shadow .2s cubic-bezier(.2, .75, .2, 1), background .2s cubic-bezier(.2, .75, .2, 1), border-color .2s cubic-bezier(.2, .75, .2, 1);
}

.menu-client-access::after {
    display: none;
}

.menu-client-access-label {
    font-size: .94rem;
    line-height: 1.1;
    font-weight: 700;
    color: #184983;
}

.menu-client-access:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .92);
    border-color: rgba(32, 83, 154, .28);
    box-shadow: 0 8px 16px rgba(20, 53, 101, .12);
}

.menu-shipping-access {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    padding: .64rem .95rem !important;
    border-radius: 18px;
    border: 1px solid rgba(32, 83, 154, .18);
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 4px 10px rgba(20, 53, 101, .08);
    transition: transform .2s cubic-bezier(.2, .75, .2, 1), box-shadow .2s cubic-bezier(.2, .75, .2, 1), background .2s cubic-bezier(.2, .75, .2, 1), border-color .2s cubic-bezier(.2, .75, .2, 1);
}

.menu-shipping-access::after {
    display: none;
}

.menu-shipping-access-label {
    font-size: .94rem;
    line-height: 1.1;
    font-weight: 700;
    color: #184983;
}

.menu-shipping-access:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .92);
    border-color: rgba(32, 83, 154, .28);
    box-shadow: 0 8px 16px rgba(20, 53, 101, .12);
}

.btn-client-login-cta {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .08rem;
    min-width: 158px;
    padding: .7rem 1rem;
    border: 1px solid rgba(32, 83, 154, .22);
    color: #fff;
    background:
        radial-gradient(circle at top left, rgba(255, 226, 112, .34), transparent 42%),
        linear-gradient(135deg, #20539A 0%, #173d72 100%);
    box-shadow: 0 12px 24px rgba(20, 53, 101, .22);
}

.btn-client-login-cta:hover,
.btn-client-login-cta:visited,
.btn-client-login-cta:active {
    color: #fff;
    text-decoration: none;
}

.btn-client-login-cta__eyebrow {
    font-size: .68rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 226, 112, .92);
}

.btn-client-login-cta__label {
    font-size: .92rem;
    line-height: 1.15;
    font-weight: 800;
}

.btn {
    border: 0;
    border-radius: 999px;
    padding: .78rem 1.22rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .2s cubic-bezier(.2, .75, .2, 1), box-shadow .2s cubic-bezier(.2, .75, .2, 1);
    text-decoration: none;
}

.btn:hover { transform: translateY(-1px); }

.btn:visited,
.btn:hover,
.btn:active {
    text-decoration: none;
}

.btn-light {
    color: #fff;
    background: linear-gradient(95deg, #20539A, #20539A);
    border: 1px solid rgba(255, 205, 0, .28);
}

.btn-home-shipping {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .08rem;
    width: 158px;
    min-width: 158px;
    color: #fff;
    background:
        radial-gradient(circle at top left, rgba(255, 226, 112, .34), transparent 42%),
        linear-gradient(135deg, #20539A 0%, #173d72 100%);
    border: 1px solid rgba(4, 30, 66, .22);
    box-shadow: 0 12px 24px rgba(20, 53, 101, .22);
    padding: .7rem 1rem;
    white-space: normal;
    text-align: center;
    line-height: 1.1;
    flex: 0 0 158px;
}

.btn-home-shipping__eyebrow {
    font-size: .68rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 226, 112, .92);
}

.btn-home-shipping__label {
    font-size: .92rem;
    line-height: 1.15;
    font-weight: 800;
}

.btn-public-login,
.btn-public-register,
.btn-public-panel {
    padding: .68rem 1rem;
    font-size: .84rem;
    white-space: nowrap;
    border: 1px solid rgba(32, 83, 154, .18);
}

.btn-public-login {
    color: #20539A;
    background: rgba(255, 255, 255, .72);
}

.btn-public-register,
.btn-public-panel {
    color: #fff;
    background: linear-gradient(95deg, #20539A, #173d72);
    box-shadow: 0 10px 22px rgba(20, 53, 101, .18);
}

.btn-home-shipping:hover,
.btn-home-shipping:visited,
.btn-home-shipping:active,
.btn-public-register:hover,
.btn-public-register:visited,
.btn-public-register:active,
.btn-public-panel:hover,
.btn-public-panel:visited,
.btn-public-panel:active {
    color: #fff;
    text-decoration: none;
}

.btn-public-login:hover,
.btn-public-login:visited,
.btn-public-login:active {
    color: #20539A;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(4, 30, 66, .30);
    color: var(--brand-blue);
    background: rgba(255, 255, 255, .60);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 6px 14px rgba(17, 45, 84, .16);
    cursor: pointer;
}

.menu-toggle-bars {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle-bars i {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: #20539A;
}

.site-footer {
    background:
        radial-gradient(540px 240px at 0% 0%, rgba(255,255,255,.45), transparent 72%),
        linear-gradient(135deg, #FECC36 0%, #FECC36 58%, #FECC36 100%);
    color: var(--brand-blue);
    border-top: 2px solid rgba(4, 30, 66, .30);
}

.footer-top {
    padding: 56px 0 28px;
}

.footer-callout {
    border: 1px solid rgba(4,30,66,.22);
    border-radius: 18px;
    background: rgba(255,255,255,.55);
    padding: 1.2rem;
    text-align: center;
    box-shadow: 0 16px 34px rgba(4, 14, 29, .36);
}

.footer-callout h3 {
    font-family: Verdana, DejaVu Sans, sans-serif;
    font-size: clamp(1.3rem, 2.4vw, 2rem);
    margin-bottom: .45rem;
    color: var(--brand-blue);
}

.footer-callout p {
    max-width: 78ch;
    margin: 0 auto .9rem;
    color: rgba(4,30,66,.82);
    font-size: .94rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(5, 1fr);
    gap: 2rem;
    padding: 20px 0 36px;
}

.footer-col h4 {
    font-size: .84rem;
    margin-bottom: .78rem;
    letter-spacing: .7px;
    text-transform: uppercase;
    color: var(--brand-blue);
}

.footer-col ul {
    list-style: none;
    display: grid;
    gap: .55rem;
    font-size: .88rem;
    line-height: 1.45;
    color: rgba(4,30,66,.88);
}

.footer-col li {
    transition: color .2s cubic-bezier(.2, .75, .2, 1);
}

.footer-col li:hover { color: #1c58a7; }

.footer-col a,
.footer-col a:visited {
    color: inherit;
    text-decoration: none;
}

.footer-col a:hover,
.footer-col a:focus-visible {
    color: #1c58a7;
    text-decoration: none;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: .72rem;
    font-weight: 700;
    margin-bottom: .55rem;
}

.footer-brand a {
    display: inline-block;
    position: relative;
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
}

.footer-brand span {
    font-size: clamp(1.31rem, 1.62vw, 1.93rem);
    line-height: 1;
}

.footer-brand img {
    width: 220px;
    height: 130px;
    object-fit: contain;
}

.footer-contact {
    border-top: 1px solid rgba(4, 30, 66, .22);
    border-bottom: 1px solid rgba(4, 30, 66, .22);
    padding: 1rem 0;
    margin-top: .4rem;
    text-align: center;
    color: rgba(4,30,66,.95);
    font-size: .9rem;
    background: rgba(255,255,255,.35);
}

.footer-copy {
    text-align: center;
    font-size: .9rem;
    color: rgba(4,30,66,.86);
    padding: 1rem 0 .55rem;
}

.footer-copy-tight {
    padding-top: .15rem;
    padding-bottom: 1.15rem;
}

@media (max-width: 860px) {
    .nav {
        min-height: 82px;
    }

    .cb-news-ticker__inner {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .cb-news-ticker__inner--static {
        justify-content: stretch;
    }

    .cb-news-ticker__badge {
        grid-column: 1 / -1;
        justify-self: flex-start;
    }

    .cb-news-ticker__item {
        font-size: 13px;
    }

    .cb-news-ticker__viewport--static .cb-news-ticker__track,
    .cb-news-ticker__viewport--static .cb-news-ticker__item {
        justify-content: flex-start;
        text-align: left;
    }

    .cb-news-ticker__viewport--static .cb-news-ticker__item {
        width: 100%;
        max-width: none;
    }

    .nav-actions {
        gap: .4rem;
    }

    .btn-home-shipping {
        width: auto;
        flex: 0 1 auto;
        min-width: 0;
        padding: .58rem .82rem;
    }

    .btn-public-login,
    .btn-public-register,
    .btn-public-panel,
    .btn-client-login-cta {
        padding: .56rem .75rem;
        font-size: .74rem;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .menu {
        position: absolute;
        left: 4%;
        right: 4%;
        top: 138px;
        display: grid;
        gap: .45rem;
        background: linear-gradient(180deg, rgba(255, 239, 177, .98), rgba(255, 216, 84, .98));
        border: 1px solid rgba(4, 30, 66, .22);
        border-radius: 16px;
        padding: .7rem .65rem;
        box-shadow: 0 16px 28px rgba(16, 42, 77, .22);
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        transition: transform .22s cubic-bezier(.2, .75, .2, 1), opacity .22s cubic-bezier(.2, .75, .2, 1);
    }

    .menu.open {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .menu li a {
        display: block;
        padding: .45rem .6rem;
        border-radius: 10px;
        font-weight: 700;
        color: #153f78;
        background: rgba(255, 255, 255, .45);
    }

    .menu-client-access-item,
    .menu-shipping-access-item {
        display: block;
    }

    .menu-client-access,
    .menu-shipping-access {
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
        padding: .8rem .85rem !important;
        border-radius: 14px;
        background: linear-gradient(135deg, rgba(32, 83, 154, .98), rgba(23, 61, 114, .98));
        border-color: rgba(18, 47, 88, .32);
        box-shadow: 0 12px 24px rgba(20, 53, 101, .16);
        color: #fff !important;
    }

    .menu-client-access-label,
    .menu-shipping-access-label {
        font-size: .94rem;
        color: #fff !important;
        font-weight: 800;
        letter-spacing: .02em;
    }

    .menu li .menu-client-access,
    .menu li .menu-shipping-access {
        background: linear-gradient(135deg, rgba(32, 83, 154, .98), rgba(23, 61, 114, .98));
        color: #fff !important;
        border: 1px solid rgba(18, 47, 88, .32);
    }

    .menu li .menu-client-access:hover,
    .menu li .menu-client-access:active,
    .menu li .menu-client-access:visited,
    .menu li .menu-shipping-access:hover,
    .menu li .menu-shipping-access:active,
    .menu li .menu-shipping-access:visited {
        color: #fff !important;
        background: linear-gradient(135deg, rgba(28, 75, 141, 1), rgba(20, 53, 101, 1));
    }

    .nav-actions .btn-home-shipping {
        display: none;
    }

    .menu a::after { display: none; }
    .brand span { display: none; }
    .brand img {
        width: 150px;
        height: 76px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 16px 0 28px;
    }
}


@media (max-width: 520px) {
    .btn-home-shipping {
        max-width: 150px;
        width: auto;
        text-align: center;
        line-height: 1.15;
        white-space: normal;
        padding: .52rem .68rem;
    }

    .btn-home-shipping__eyebrow {
        font-size: .62rem;
    }

    .btn-home-shipping__label {
        font-size: .82rem;
    }

    .btn-public-login,
    .btn-public-register,
    .btn-public-panel,
    .btn-client-login-cta {
        display: none;
    }
}



