.site-logo {
    width: 44px;
    height: 44px;
    display: block;
    object-fit: cover;
    border-radius: 50%;
    background: #F8FAFC;
    box-shadow: 0 8px 18px rgba(10, 25, 41, .18);
}

.header-logo {
    width: 70px;
    height: 70px;
}

#mainNav.navbar,
#mainNav.navbar.scrolled {
    background: #F8FAFC;
}

#mainNav .navbar-brand,
#mainNav .navbar-brand:hover,
#mainNav .nav-link,
#mainNav .phone-link,
#mainNav .navbar-toggler {
    color: var(--brand-900);
}

#mainNav .brand-copy small {
    color: var(--muted);
}

#mainNav .nav-link:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.header-social-links {
    display: none;
    align-items: center;
    gap: .5rem;
    margin-left: auto;
    margin-right: 1rem;
}

.social-link {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    color: var(--brand-900) !important;
    font-size: 1.05rem;
    line-height: 1;
    text-decoration: none;
}

.social-link:hover {
    color: var(--accent) !important;
}

body.page-home,
body.page-services,
body.page-why-us,
body.page-showcase,
body.page-contact {
    padding-top: 4rem;
}

@media (max-width: 991px) {
    #mainNav .navbar-collapse {
        background: #F8FAFC;
    }

    .header-social-links {
        display: flex;
    }

    #mainNav .nav-actions .social-links {
        display: none;
    }
}

.page-showcase #mainNav:not(.scrolled) .navbar-brand,
.page-showcase #mainNav:not(.scrolled) .nav-link,
.page-showcase #mainNav:not(.scrolled) .phone-link,
.page-contact #mainNav:not(.scrolled) .navbar-brand,
.page-contact #mainNav:not(.scrolled) .nav-link,
.page-contact #mainNav:not(.scrolled) .phone-link {
    color: var(--brand-900);
}

.page-showcase #mainNav:not(.scrolled) .brand-copy small,
.page-contact #mainNav:not(.scrolled) .brand-copy small {
    color: var(--muted);
}

.page-showcase #mainNav:not(.scrolled) .navbar-toggler,
.page-contact #mainNav:not(.scrolled) .navbar-toggler {
    color: var(--brand-900);
}

.gallery-heading {
    max-width: 720px;
    margin: clamp(4rem, 8vw, 7rem) auto 2rem;
    text-align: center;
}

.gallery-heading p {
    margin-bottom: .75rem;
    color: var(--accent);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.gallery-heading h2 {
    margin-bottom: .85rem;
}

.gallery-heading span {
    color: var(--muted);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.gallery-card {
    min-height: 360px;
    position: relative;
    overflow: hidden;
    background: var(--brand-900);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: block;
    object-fit: cover;
    transition: transform .7s ease;
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.gallery-card::after {
    content: '';
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(180deg, transparent, rgba(10, 25, 41, .9));
}

.gallery-card-copy {
    position: absolute;
    z-index: 1;
    right: 1.5rem;
    bottom: 1.35rem;
    left: 1.5rem;
    color: #fff;
}

.gallery-card-copy span {
    font-family: Sora, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
}

.gallery-card-copy p {
    max-width: 290px;
    margin: .4rem 0 0;
    color: rgba(255, 255, 255, .8);
    font-size: .88rem;
}

.gallery-category {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    gap: 1.25rem;
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
}

.gallery-category:not(:last-of-type)::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: rgba(15, 39, 64, .14);
}

.gallery-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.gallery-images img {
    width: 100%;
    height: 220px;
    display: block;
    object-fit: cover;
}

@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-category {
        grid-template-columns: 1fr;
    }

    .gallery-card,
    .gallery-card img {
        min-height: 300px;
    }
}
