/* ── Navbar ────────────────────────────────────────────────── */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
}

.nav-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    opacity: 1;
    transition: opacity 0.15s;
}
.brand:hover { opacity: 0.8; }

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: 0;
    flex-shrink: 0;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #0A0A0A;
    text-decoration: none;
    transition: color 0.15s;
    white-space: nowrap;
}

.nav-link:hover  { color: #1E3A5F; }
.nav-link.active { color: #1E3A5F; font-weight: 700; }

.nav-cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    background: #B8956C;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    transition: background 0.15s;
    white-space: nowrap;
}

.nav-cta:hover  { background: #a07d58; }
.nav-cta.active { background: #a07d58; }

.nav-hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #2D3748;
    padding: 0.5rem;
    cursor: pointer;
}

/* Mobile overlay — sibling of header, unaffected by header's backdrop-filter */
.nav-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.nav-mobile-overlay--open { display: flex; }

.nav-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    height: 100%;
    padding-top: 5rem;
}

.nav-mobile-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2D3748;
    text-decoration: none;
    transition: color 0.15s;
}

.nav-mobile-link:hover  { color: #1E3A5F; }
.nav-mobile-link.active { color: #1E3A5F; }

.nav-mobile-cta {
    margin-top: 1rem;
    font-size: 1.125rem;
    padding: 0.75rem 2rem;
}

@media (max-width: 1024px) {
    .nav-hamburger { display: flex; }
    .nav-desktop   { display: none; }
    .nav-cta:not(.nav-mobile-cta) { display: none; }
}

/* ── Footer ────────────────────────────────────────────────── */

.footer {
    background: #F9F8F6;
    color: var(--text);
    padding: var(--space-16) 0 0;
    border-top: 1px solid #e8e3d8;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-logo {
    width: auto;
    height: 52px;
    border-radius: 0;
    object-fit: contain;
    object-position: left center;
}

.footer-desc {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.5;
    max-width: 28ch;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: #1E3A5F;
    margin-bottom: var(--space-4);
}

.footer-col a {
    display: block;
    font-size: 1rem;
    color: var(--muted);
    text-decoration: none;
    padding: var(--space-1) 0;
    transition: color 0.15s;
}

.footer-col a:hover { color: var(--gold); }

.footer-col p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.5;
    max-width: 28ch;
}

.footer-contact-text {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.5;
    padding: var(--space-1) 0;
}

.footer-bottom {
    max-width: var(--max-w);
    margin: var(--space-12) auto 0;
    padding: var(--space-6) var(--space-6);
    border-top: 1px solid #e8e3d8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 1rem;
    color: var(--muted);
}

.footer-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--text);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: opacity 0.15s;
    flex-shrink: 0;
}

.footer-top-btn:hover { opacity: 0.8; color: #fff; }

@media (max-width: 860px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 540px) {
    .footer-inner { grid-template-columns: 1fr; }
}
