/* Единый визуальный бренд HEINRICH | RICHTER */

.brand {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    min-width: 0 !important;
}

.brand-mark {
    display: inline-flex !important;
    align-items: center !important;
    gap: 16px !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.brand-word {
    font-family: "Montserrat", "Inter", system-ui, sans-serif !important;
    font-size: 28px !important;
    line-height: 1 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    display: inline-block !important;
}

.brand-word-light {
    font-weight: 300 !important;
    color: #ffffff !important;
}

.brand-divider {
    display: inline-block !important;
    width: 1px !important;
    height: 1.6rem !important;
    background: rgba(212, 175, 55, 0.5) !important;
    align-self: center !important;
    flex: 0 0 auto !important;
}

.brand-word-gold {
    font-weight: 700 !important;
    color: #ffcc00 !important;
}

.mobile-brand-logo {
    height: 72px !important;
    width: auto !important;
    flex-shrink: 0 !important;
}

.mobile-brand-link {
    gap: 16px !important;
    min-width: 0 !important;
}

@media (max-width: 900px) {
    .mobile-brand-link {
        gap: 14px !important;
        min-width: 0 !important;
        flex: 1 !important;
        overflow: hidden !important;
    }

    .mobile-brand-logo {
        height: 60px !important;
    }

    .brand-mark {
        gap: 10px !important;
    }

    .brand-word {
        font-size: 22px !important;
        line-height: 0.98 !important;
        letter-spacing: 0.12em !important;
    }

    .brand-divider {
        height: 1.25rem !important;
    }
}

@media (max-width: 640px) {
    .mobile-brand-link {
        gap: 12px !important;
    }

    .mobile-brand-logo {
        height: 52px !important;
    }

    .brand-mark {
        gap: 8px !important;
    }

    .brand-word {
        font-size: 18px !important;
        line-height: 0.95 !important;
        letter-spacing: 0.1em !important;
    }

    .brand-divider {
        height: 1rem !important;
    }
}

@media (max-width: 380px) {
    .brand-word {
        font-size: 16px !important;
    }
}
