/* Agrogat brand mark — logo sizing per context */
.brand-link {
    color: inherit;
}

.brand-link:hover .brand-name {
    color: #fff;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.brand-name {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
}

.brand-logo {
    display: block;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-logo--nav {
    height: 56px;
    width: 56px;
}

.brand-logo--dashboard {
    height: 80px;
    width: 80px;
}

.brand-logo--footer {
    height: 44px;
    width: 44px;
}

.brand-logo--login {
    height: 88px;
    width: 88px;
}

.brand-logo--email {
    height: 64px;
    width: 64px;
}

.brand-logo--lg {
    height: 96px;
    width: 96px;
}

.login-brand {
    text-align: center;
    margin-bottom: 1.25rem;
}

.login-brand .brand-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}

.login-brand .brand-name {
    font-size: 1.5rem;
}

.welcome-nav .container-fluid,
.docs-nav .container-fluid {
    gap: 1rem;
}

.dashboard-nav .brand-name {
    font-size: 1.65rem;
}

.dashboard-nav .brand-mark {
    gap: 0.85rem;
}

.welcome-nav .brand-name,
.docs-nav .brand-name {
    font-size: 1.45rem;
}

.contact-page .brand-name {
    font-size: 1.45rem;
}

.welcome-footer .brand-name {
    font-size: 1.1rem;
}

.footer-badge-wrap {
    padding: 0.25rem 0 0.75rem;
}

.footer-badge-link {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
}

.brand-badge-footer {
    display: block;
    width: auto;
    height: clamp(96px, 12vw, 128px);
    object-fit: contain;
    opacity: 0.92;
    transition: opacity 0.2s ease;
}

.footer-badge-link:hover .brand-badge-footer {
    opacity: 1;
}
