/* Shared site header, navigation and footer. */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 2; }
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s ease;
}
.navbar.scrolled {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
    background: rgba(246, 244, 239, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-decoration: none;
    white-space: nowrap;
}
.logo-mark {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 5px;
    background: var(--menu);
    color: var(--yellow);
    font-family: var(--font-sans);
    font-size: 1.3rem;
}
.logo-mark::after {
    position: absolute;
    inset: 0;
    border-radius: 5px;
    background: linear-gradient(135deg, transparent 50%, var(--accent) 50%);
    content: "";
    opacity: 0;
    transition: opacity 0.3s;
}
.logo:hover .logo-mark::after { opacity: 1; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-links a {
    position: relative;
    color: var(--ink-soft);
    font-size: 0.9375rem;
    font-weight: 450;
    text-decoration: none;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    content: "";
    transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-links .nav-phone-link { color: var(--menu); font-weight: 500; white-space: nowrap; }
.nav-links .nav-phone-link:hover { color: var(--accent-deep); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-cta-label-mobile { display: none; }
.nav-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 48px;
    padding: 0 1.6rem;
    border: 0;
    border-radius: 5px;
    background: var(--menu);
    color: var(--yellow);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
.nav-cta .btn:hover { background: var(--menu-soft); }
.nav-cta .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 5px;
    background: var(--yellow);
    color: var(--menu);
    transition: transform 0.3s;
}
.nav-cta .btn:hover .arrow { transform: translateX(3px); }
.mobile-menu {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--surface);
    color: var(--menu);
    cursor: pointer;
}
.mobile-menu svg { width: 18px; height: 18px; }
.skip-link {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3000;
    padding: 0.65rem 1rem;
    transform: translateY(-200%);
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--surface);
    color: var(--menu);
}
.skip-link:focus { transform: translateY(0); }

.footer { padding: 5rem 0 2rem; background: var(--menu); color: var(--surface); }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { max-width: 320px; margin-top: 1rem; color: rgba(255,255,255,0.6); font-size: 0.95rem; }
.footer-brand .logo { color: var(--surface); }
.footer-brand .logo-mark { background: var(--surface); color: var(--menu); }
.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.5rem; font-size: 0.9rem; }
.footer-contact a,
.footer-contact span { display: flex; align-items: flex-start; gap: 0.5rem; color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-contact .contact-icon { color: var(--accent); }
.footer-title {
    margin-bottom: 1.25rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: rgba(255,255,255,0.8); font-size: 0.95rem; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }
.footer-coverage-block {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: baseline;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-coverage-block .footer-title { margin-bottom: 0; }
.footer-coverage-text { margin: 0; color: rgba(255,255,255,0.7); font-size: 0.95rem; line-height: 1.8; }
.footer-coverage-text a { color: var(--accent); text-underline-offset: 3px; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.875rem;
}
.footer-bottom p { margin: 0; }
.footer-socials { display: flex; gap: 0.5rem; }
.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 5px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
}
.footer-socials a:hover { background: var(--accent); color: var(--menu); }

@media (max-width: 1100px) {
    .nav-links {
        position: absolute;
        top: calc(100% + 0.75rem);
        right: 1.5rem;
        left: 1.5rem;
        z-index: 2;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
        padding: 0.75rem 1rem;
        border: 1px solid var(--line);
        border-radius: 5px;
        background: var(--surface);
    }
    .nav-links.is-open { display: flex; }
    .nav-links a { display: block; padding: 0.65rem 0.2rem; }
    .nav-links a::after { display: none; }
    .mobile-menu { display: flex; }
}
@media (max-width: 968px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
    .nav-container { gap: 0.5rem; }
    .nav-cta .btn { min-height: 44px; padding: 0 0.65rem; font-size: 0.78rem; }
    .nav-cta .btn .arrow { display: none; }
    .nav-cta-label-full { display: none; }
    .nav-cta-label-mobile { display: inline; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-coverage-block { grid-template-columns: 1fr; gap: 0.5rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
    .nav-container { gap: 0.25rem; }
    .logo { gap: 0.4rem; font-size: 1rem; }
    .logo-mark { width: 32px; height: 32px; }
    .nav-cta .btn { padding: 0 0.45rem; font-size: 0.68rem; }
}
