/* Header widget: Service First — theme via --tx-primary / --tx-dark / --tx-secondary */
.header-service-first {
    --hsf-ink: var(--tx-dark, #193047);
    --hsf-muted: #668096;
    --hsf-line: #dfe7ee;
    --hsf-accent: var(--tx-primary, #00bbe8);
    --hsf-nav-bg: var(--tx-dark, #0b2a45);
    --hsf-cta: var(--tx-secondary, #f5c518);
    background: #fff;
    position: relative;
    z-index: 1030;
}

.header-service-first__masthead {
    background: #fff;
    border-bottom: 1px solid var(--hsf-line);
}

.header-service-first__masthead-row {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 26px);
    min-height: 109px;
}

.header-service-first__brand {
    flex: none;
}

    .header-service-first__brand .logo,
    .header-service-first__brand img {
        width: 150px;
        max-height: 80px;
        height: auto;
        object-fit: contain;
    }

.header-service-first__mid-images {
    align-items: center;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 24px;
    border-left: 1px solid var(--hsf-line);
    max-width: 320px;
}

.header-service-first__mid-img {
    max-height: 56px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.header-service-first__contacts {
    align-items: center;
    gap: 0;
    margin-left: auto;
    flex: none;
}

.header-service-first__contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-left: 22px;
    margin-left: 22px;
    border-left: 1px solid var(--hsf-line);
    text-decoration: none;
    color: var(--hsf-ink);
    min-height: 52px;
}

    .header-service-first__contact:first-child {
        margin-left: 0;
    }

    .header-service-first__contact:hover {
        color: var(--hsf-ink);
        text-decoration: none;
    }

        .header-service-first__contact:hover .header-service-first__contact-value {
            color: var(--hsf-accent);
        }

.header-service-first__contact-icon {
    display: inline-flex;
    color: var(--hsf-accent);
    font-size: 22px;
    line-height: 1;
}

.header-service-first__contact-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.25;
}

.header-service-first__contact-kicker {
    font-size: 11px;
    color: var(--hsf-muted);
    margin-bottom: 2px;
}

.header-service-first__contact-value {
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.header-service-first__contact-value--email {
    font-size: 13px;
    font-weight: 600;
    max-width: 220px;
    overflow-wrap: anywhere;
    white-space: normal;
}

.header-service-first__masthead-actions .sidebar-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--hsf-line);
    border-radius: 9px;
    background: #fff;
    color: var(--hsf-ink);
    cursor: pointer;
}

.header-service-first__nav-band {
    background: var(--hsf-nav-bg);
}

.header-service-first__nav-row {
    min-height: 58px;
}

.header-service-first__nav-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 58px;
    width: 100%;
}

.header-service-first__nav {
    flex: 1 1 auto;
    min-width: 0;
}

.header-service-first .main-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(8px, 1.5vw, 6px);
    margin: 0;
    padding: 0;
    list-style: none;
}

    .header-service-first .main-nav > li {
        margin: 0;
        padding: 0;
    }

        /* Nav on dark band: white default, theme accent on hover; beat global white-on-hero rules */
        .header-service-first header .header-nav .main-menu-wrapper .main-nav > li > a,
        .header-service-first .main-nav > li > a {
            position: relative;
            display: flex;
            align-items: center;
            min-height: 44px;
            padding: 8px 8px;
            font-size: 16px;
            font-weight: 600;
            color: #fff !important;
            white-space: nowrap;
            text-decoration: none;
            border-radius: 8px;
        }

            .header-service-first header .header-nav .main-menu-wrapper .main-nav > li > a:hover,
            .header-service-first .main-nav > li > a:hover {
                color: #fff !important;
                background: rgba(255, 255, 255, 0.12);
            }

            .header-service-first header .header-nav .main-menu-wrapper .main-nav > li > a.active,
            .header-service-first header .header-nav .main-menu-wrapper .main-nav > li > a[aria-current="page"],
            .header-service-first .main-nav > li > a.active,
            .header-service-first .main-nav > li > a[aria-current="page"] {
                color: #fff !important;
                background: rgba(255, 255, 255, 0.15);
            }

                .header-service-first .main-nav > li > a.active::after,
                .header-service-first .main-nav > li > a[aria-current="page"]::after,
                .header-service-first header .header-nav .main-menu-wrapper .main-nav > li.active > a::after {
                    display: none !important;
                    content: none !important;
                }

.header-service-first__nav-actions {
    flex: none;
    margin-left: auto;
}

.header-service-first__currency .b2c-currency-widget,
.header-service-first__offcanvas-currency .b2c-currency-widget {
    margin: 0;
}

.header-service-first__currency .b2c-currency-widget__select,
.header-service-first__offcanvas-currency .b2c-currency-widget__select {
    min-width: 7.5rem;
    min-height: 44px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--hsf-ink);
    background: var(--hsf-cta);
    border: 1px solid color-mix(in srgb, var(--hsf-cta) 70%, #000);
    border-radius: 8px;
    cursor: pointer;
}

    .header-service-first__currency .b2c-currency-widget__select:focus,
    .header-service-first__offcanvas-currency .b2c-currency-widget__select:focus {
        outline: 2px solid color-mix(in srgb, var(--hsf-accent) 45%, transparent);
        outline-offset: 2px;
    }

.header-service-first__offcanvas-images {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.header-service-first__offcanvas-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .header-service-first__offcanvas-contact .header-service-first__contact {
        margin: 0;
        padding-left: 0;
        border-left: 0;
    }

@media (max-width: 1250px) {
    .header-service-first__contact {
        padding-left: 14px;
        margin-left: 14px;
        gap: 8px;
    }

    .header-service-first__contact-value {
        font-size: 14px;
    }

    .header-service-first__mid-images {
        padding-left: 16px;
    }
}

@media (max-width: 991.98px) {
    .header-service-first__masthead-row {
        min-height: 88px;
    }

    .header-service-first__brand .logo,
    .header-service-first__brand img {
        width: 91px;
        max-height: 55px;
    }

    .header-service-first__masthead-actions {
        margin-left: auto;
    }

    /* Hide desktop nav band links; meanmenu still clones #mobile-menu into offcanvas */
    .header-service-first__nav-band {
        display: none;
    }

    .header-service-first header .header-nav .main-menu-wrapper .main-nav > li > a,
    .header-service-first .main-nav > li > a {
        color: #4E5561 !important;
    }

        .header-service-first header .header-nav .main-menu-wrapper .main-nav > li > a:hover,
        .header-service-first .main-nav > li > a:hover {
            color: #4E5561 !important;
        }

        .header-service-first header .header-nav .main-menu-wrapper .main-nav > li > a.active,
        .header-service-first header .header-nav .main-menu-wrapper .main-nav > li > a[aria-current="page"],
        .header-service-first .main-nav > li > a.active,
        .header-service-first .main-nav > li > a[aria-current="page"] {
            color: #4E5561 !important;
        }
}
