.navbar:has(.home-logo) {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar .navbar-brand.home-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 60px;
    flex-shrink: 0;
    padding: 0;
    color: #f7f3e8;
    text-decoration: none;
}

.brand-roof {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: #dfbd85;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 25px;
    font-weight: 600;
    line-height: 1;
}

.brand-tagline {
    font-family: system-ui, sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .06em;
}

.footer-brand-container {
    position: relative;
}

.footer-logo {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.footer-logo img {
    display: block;
    width: 220px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1199.98px) {
    .footer-logo {
        top: 50%;
        transform: translateY(-50%);
    }

    .footer-logo img {
        width: 160px;
    }
}

@media (max-width: 991.98px) {
    .footer-logo {
        top: auto;
        bottom: 0;
        transform: none;
    }

    .footer-logo img {
        width: 110px;
    }
}

@media (max-width: 575.98px) {
    .footer-logo img {
        width: clamp(64px, 19vw, 100px);
    }
}

@media (max-width: 359.98px) {
    .navbar .navbar-brand.home-logo {
        gap: 7px;
        margin-right: 8px;
    }

    .brand-roof {
        width: 28px;
    }

    .brand-name {
        font-size: 22px;
    }

    .brand-tagline {
        font-size: 9px;
    }
}
