/* Shared navigation and phone-sized spacing for the public pages. */
.nav-toggle { display: none; }

@media (max-width: 980px) {
    .nav-inner { flex-wrap: wrap; gap: 0 16px; min-height: 72px; padding-block: 12px; }
    .nav-inner nav { flex-basis: 100%; }
    .nav-inner .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 0 4px; }
    .nav-links a { display: flex; align-items: center; min-height: 48px; padding: 10px 12px; border-radius: 8px; }
    .nav-links a.active { background: #f4f6f0; }
    .nav-links a::after { display: none; }
    .nav-links .btn { justify-content: center; margin-top: 8px; }
    .nav-ready .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: 44px;
        padding: 10px 14px;
        border: 1px solid #dfe8e3;
        border-radius: 8px;
        background: #fff;
        color: #121a2c;
        font: inherit;
        font-weight: 700;
        cursor: pointer;
    }
    .nav-toggle[aria-expanded="true"] { background: #f4f6f0; border-color: #8ba61f; }
    .nav-ready nav { display: none; }
    .nav-ready.nav-open nav { display: block; max-height: calc(100dvh - 140px); overflow-y: auto; }
    .nav-toggle:focus-visible, .nav-links a:focus-visible { outline: 3px solid #8ba61f; outline-offset: 3px; }
}

@media (max-width: 680px) {
    .topbar-inner, .nav-inner, .section-inner, .hero-inner, .page-hero-inner, .footer-inner { width: calc(100% - 32px); }
    .nav-inner { min-height: 68px; }
    .brand { min-width: 0; }
    .brand img { max-width: 200px; height: 36px; object-fit: contain; }
    .hero-inner { padding-top: 40px; }
    .hero-copy { padding-bottom: 20px; }
    h1 { font-size: clamp(2rem, 9vw, 3rem); line-height: 1.12; overflow-wrap: break-word; }
    .hero-copy p, .page-hero p { font-size: 1rem; line-height: 1.7; }
    .eyebrow { font-size: .7rem; letter-spacing: .08em; }
    .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .hero-actions .btn { width: 100%; min-height: 48px; justify-content: center; }
    .hero-panel { margin-top: 12px; }
    .hero-panel > div { padding: 18px; }
    .page-hero-inner { padding: 40px 0; }
    section { padding: 44px 0; }
    .section-head { margin-bottom: 28px; }
    .section-head h2 { font-size: clamp(1.65rem, 7vw, 2.2rem); }
    .section-head::before { left: -8px; }
    .contact-copy { padding: 28px 20px; }
    .contact-copy a { overflow-wrap: anywhere; }
    .footer-inner { line-height: 1.6; gap: 12px; }
}

@media (max-width: 359.98px) {
    .brand img { max-width: 175px; }
    .nav-ready .nav-toggle { padding-inline: 10px; }
}
