:root {
    --hb-navy: #00263e;
    --hb-dark: #0d1317;
    --hb-muted: #717374;
    --hb-accent: #aa182c;
    --hb-border: rgba(13, 19, 23, 0.1);
    --hb-shadow: 0 24px 60px -24px rgba(0, 38, 62, 0.16);
    --hb-radius: 20px;
}

#home-brands,
#brand-hub {
    padding: 36px 0 120px;
}

#home-brands > .container,
#brand-hub > .container {
    padding-left: 16px;
    padding-right: 16px;
}

#home-brands .home-brands-intro,
#brand-hub .brand-hub-intro {
    margin: 0 0 32px;
    padding-top: 4px;
}

#home-brands .home-brands-intro h1,
#brand-hub .brand-hub-intro h1 {
    margin: 0 0 12px;
    color: var(--hb-dark);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 600;
    line-height: 1.25;
}

#home-brands .home-brands-intro p,
#brand-hub .brand-hub-intro p {
    margin: 0;
    max-width: 640px;
    color: var(--hb-muted);
    font-size: 15px;
    line-height: 1.6;
}

#home-brands .home-brands-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

@media (min-width: 768px) {
    #home-brands .home-brands-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        align-items: start;
    }
}

#brand-hub .brand-hub-card-wrap {
    max-width: 760px;
}

#home-brands .home-brand-card,
#brand-hub .home-brand-card {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    align-self: start;
    padding: 0;
    position: static;
    background: #fff;
    border: 1px solid var(--hb-border);
    border-radius: var(--hb-radius);
    box-shadow: var(--hb-shadow);
    overflow: hidden;
}

#home-brands .home-brand-card__head,
#brand-hub .home-brand-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 88px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--hb-border);
    text-decoration: none;
    transition: background-color 0.25s ease;
}

#home-brands .home-brand-card__head:hover {
    background: rgba(0, 38, 62, 0.03);
}

#brand-hub .home-brand-card__head--static {
    cursor: default;
}

#home-brands .home-brand-card__mark,
#brand-hub .home-brand-card__mark {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 38, 62, 0.06);
    line-height: 0;
}

#home-brands .home-brand-card__mark .brand-mark-svg,
#brand-hub .home-brand-card__mark .brand-mark-svg {
    width: 26px;
    height: 26px;
    fill: #0d1317;
}

#home-brands .home-brand-card__mark img,
#brand-hub .home-brand-card__mark img {
    max-width: 32px;
    max-height: 32px;
    object-fit: contain;
}

#home-brands .home-brand-card__title-wrap,
#brand-hub .home-brand-card__title-wrap {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

#home-brands .home-brand-card__eyebrow,
#brand-hub .home-brand-card__eyebrow {
    display: block;
    margin: 0;
    color: var(--hb-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

#home-brands .home-brand-card__title-wrap h2,
#brand-hub .home-brand-card__title-wrap h2 {
    margin: 0;
    color: var(--hb-dark);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
}

#home-brands .home-brand-card__go {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(0, 38, 62, 0.06);
    color: var(--hb-navy);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

#home-brands .home-brand-card__head:hover .home-brand-card__go {
    transform: translateX(2px);
    background: var(--hb-navy);
    color: #fff;
}

#home-brands .home-brand-card__links,
#brand-hub .home-brand-card__links {
    margin: 0;
    padding: 8px 0;
    list-style: none;
    flex: 0 0 auto;
    flex-grow: 0;
}

#home-brands .home-brand-card__links li,
#brand-hub .home-brand-card__links li {
    margin: 0;
    border-bottom: 1px solid rgba(13, 19, 23, 0.06);
}

#home-brands .home-brand-card__links li:last-child,
#brand-hub .home-brand-card__links li:last-child {
    border-bottom: 0;
}

#home-brands .home-brand-card__links a,
#brand-hub .home-brand-card__links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 22px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

#home-brands .home-brand-card__links a:hover,
#brand-hub .home-brand-card__links a:hover {
    background: rgba(0, 38, 62, 0.03);
}

#home-brands .home-brand-card__link-icon,
#brand-hub .home-brand-card__link-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 38, 62, 0.06);
    color: var(--hb-navy);
    font-size: 15px;
    line-height: 1;
}

#home-brands .home-brand-card__link-text,
#brand-hub .home-brand-card__link-text {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--hb-dark);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
}

#home-brands .home-brand-card__links a:hover .home-brand-card__link-text,
#brand-hub .home-brand-card__links a:hover .home-brand-card__link-text {
    color: var(--hb-accent);
}

#home-brands .home-brand-card__link-arrow,
#brand-hub .home-brand-card__link-arrow {
    flex: 0 0 auto;
    color: var(--hb-muted);
    font-size: 14px;
    transition: transform 0.2s ease, color 0.2s ease;
}

#home-brands .home-brand-card__links a:hover .home-brand-card__link-arrow,
#brand-hub .home-brand-card__links a:hover .home-brand-card__link-arrow {
    transform: translateX(3px);
    color: var(--hb-navy);
}

@media (max-width: 575.98px) {
    #home-brands,
    #brand-hub {
        padding-top: 20px;
    }

    #home-brands .home-brand-card__head,
    #brand-hub .home-brand-card__head {
        padding: 20px 18px 16px;
    }

    #home-brands .home-brand-card__links a,
    #brand-hub .home-brand-card__links a {
        padding: 14px 18px;
    }
}
