:root {
    --bh-dark: #161616;
    --bh-body: #ffffff;
    --bh-alt: #f6f6f6;
    --bh-footer: #eeeeee;
    --bh-blue: #2674DE;
    --bh-text: #1b1b1b;
    --bh-muted: #575757;
    --bh-btn: #2674DE;
    --bh-btn-secondary: #00aa1c;
    --bh-btn-hover: #2674DE;
    --bh-danger: #d9534f;
    --bh-danger-hover: #c9302c;
    --bh-gradient: linear-gradient(135deg, #1a3c5e 0%, #0d6efd 100%);
}

.bg-bh-gradient {
    background: var(--bh-gradient);
}


body {
    color: var(--bh-text);
    font-family: 'Segoe UI', system-ui, sans-serif;
}

section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--bh-alt);
}

.section-title-a {
    color: var(--bh-blue);
    font-weight: 700;
}

.section-title {
    color: var(--bh-text);
    font-weight: 700;
}

.navbar-text {
    color: var(--bh-dark);
}

.navbar-text:hover,
.navbar-nav .navbar-text.active {
    color: var(--bh-blue);
}

.bh-text-blue {
    color: var(--bh-blue);
}

.bh-text-wite {
    color: var(--bh-alt);
}

.btn-bh {
    background-color: var(--bh-btn);
    color: #fff;
    border: none;
    padding: 0.65rem 1.75rem;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.btn-bh:hover {
    background-color: var(--bh-btn-hover);
    color: #fff;
}

.btn-bh-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid var(--bh-btn);
    padding: 0.65rem 1.75rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-bh-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-bh-green {
    background-color: #52b788;
    color: #fff;
    border: none;
    padding: 0.65rem 1.75rem;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.btn-bh-green:hover {
    background-color: #40916c;
    color: #fff;
}

.btn-bh-green-outline {
    background-color: transparent;
    color: #52b788;
    border: 2px solid #52b788;
    padding: 0.65rem 1.75rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-bh-green-outline:hover {
    background-color: #52b788;
    color: #fff;
}

.icon-blue {
    color: var(--bh-blue);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bh-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* ── Section heading with inline blue accent line ────────────── */
.section-heading {
    width: fit-content;
    max-width: 100%;
}

.section-heading .section-title-a {
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-heading .section-title-a::after {
    content: '';
    flex: 1;
    height: 3px;
    background: var(--bh-blue);
    min-width: 24px;
}

/* ── Reviews marquee ─────────────────────────────────────────── */
.reviews-track-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.reviews-track {
    display: flex;
    width: max-content;
    animation: reviews-scroll 40s linear infinite;
    align-items: stretch;
}

.reviews-track:hover {
    animation-play-state: paused;
}

.review-card {
    flex-shrink: 0;
    width: 340px;
    background: #fff;
    border-radius: 8px;
    padding: 28px 28px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    margin: 0 16px;
    display: flex;
    flex-direction: column;
}

.review-card__quote-icon {
    font-size: 1.5rem;
    color: var(--bh-blue);
    margin-bottom: 12px;
    display: block;
}

.review-card__text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--bh-text);
    margin-bottom: 20px;
    flex: 1;
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-card__avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

@keyframes reviews-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ── Clients bar ─────────────────────────────────────────────── */
.clients-bar {
    padding: 40px 0;
    background-color: var(--bh-dark);
    overflow: hidden;
}

.clients-bar__label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bh-muted);
    margin-bottom: 0;
}

.clients-track-wrapper {
    overflow: hidden;
    /* fade edges */
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.clients-track {
    display: flex;
    width: max-content;
    animation: clients-scroll 30s linear infinite;
}

.clients-track:hover {
    animation-play-state: paused;
}

.clients-track__logo {
    flex-shrink: 0;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clients-track__logo img {
    height: 40px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%) opacity(55%);
    transition: filter 0.25s;
}

.clients-track__logo img:hover {
    filter: grayscale(0%) opacity(100%);
}

@keyframes clients-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ── Catalog tab nav ─────────────────────────────────────────── */
.catalog-nav .nav-link {
    color: var(--bh-text);
    border-radius: 0;
    border-left: 3px solid transparent;
    padding: 1.1rem 1.25rem;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
    width: 100%;
}

.catalog-nav .nav-link+.nav-link {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.catalog-nav .nav-link:hover {
    background: var(--bh-alt);
    border-left-color: var(--bh-blue);
    color: var(--bh-text);
}

.catalog-nav .nav-link.active {
    background: var(--bh-alt);
    border-left-color: var(--bh-blue);
    color: var(--bh-blue);
}

.catalog-nav .cat-icon {
    color: var(--bh-muted);
    transition: color 0.18s;
}

.catalog-nav .cat-sub {
    color: var(--bh-muted);
    font-size: 0.8rem;
    margin-top: 2px;
}

.catalog-nav .cat-arrow {
    color: transparent;
    transition: color 0.18s;
}

.catalog-nav .nav-link.active .cat-icon,
.catalog-nav .nav-link:hover .cat-icon {
    color: var(--bh-blue);
}

.catalog-nav .nav-link.active .cat-arrow,
.catalog-nav .nav-link:hover .cat-arrow {
    color: var(--bh-blue);
}

/* Horizontal on mobile */
@media (max-width: 991px) {
    .catalog-nav {
        overflow-x: auto;
        flex-wrap: nowrap !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .catalog-nav .nav-link {
        border-left: none;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
        flex-shrink: 0;
        padding: 0.85rem 1rem;
    }

    .catalog-nav .nav-link+.nav-link {
        border-top: none;
    }

    .catalog-nav .nav-link.active,
    .catalog-nav .nav-link:hover {
        border-left-color: transparent;
        border-bottom-color: var(--bh-blue);
    }
}

/* ── Catalog image panel ─────────────────────────────────────── */
.catalog-panel {
    height: 100%;
    min-height: 300px;
    overflow: hidden;
}

.catalog-panel__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.catalog-panel__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 2.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.3) 65%, transparent 100%);
}

.catalog-panel__desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1rem;
    max-width: 420px;
}

/* ── Footer ──────────────────────────────────────────────────── */
.bh-footer {
    background: linear-gradient(160deg, #f2f1ee 0%, #e8e7e3 100%);
}

.bh-footer__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bh-blue);
    margin-bottom: 0;
}

.bh-footer__body {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--bh-muted);
}

.bh-footer__muted {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0;
}

.bh-footer__name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bh-text);
}

.bh-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bh-footer__links a,
.bh-footer__link {
    font-size: 0.88rem;
    color: var(--bh-muted);
    text-decoration: none;
    transition: color 0.18s;
}

.bh-footer__links a:hover,
.bh-footer__link:hover {
    color: var(--bh-blue);
}

.bh-footer__social {
    display: flex;
    gap: 10px;
}

.bh-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: var(--bh-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
}

.bh-footer__social a:hover {
    border-color: var(--bh-blue);
    color: var(--bh-blue);
    background: rgba(38, 116, 222, 0.08);
}

.bh-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.82rem;
    color: #999;
}

/* ── Dark-section text overrides (gradient + parallax) ──────── */
.bg-bh-gradient .section-title-a,
.bg-bh-gradient .section-title,
.bg-bh-gradient .section-title-b {
    color: #fff;
}

.bg-bh-gradient .section-title-a::after {
    background: rgba(255, 255, 255, 0.35);
}

.bg-bh-gradient .text-muted {
    color: rgba(255, 255, 255, 0.65) !important;
}

.bh-parallax .section-title-a,
.bh-parallax .section-title,
.bh-parallax .section-title-b {
    color: #fff;
}

.bh-parallax .section-title-a::after {
    background: rgba(255, 255, 255, 0.35);
}

/* ── Parallax sections ───────────────────────────────────────── */
.bh-parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.bh-parallax--hero1 {
    background-image: url("../img/hero1.jpeg");
}

.bh-parallax--hero2 {
    background-image: url("../img/hero2.jpeg");
}

.bh-parallax--hero3 {
    background-image: url("../img/hero3.jpeg");
}

.bh-parallax--hero4 {
    background-image: url("../img/hero4.jpeg");
}