/* Skip-to-content: hidden until focused (accessibility) */
.skip-nav {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 9999;
    padding: 0.75rem 1.5rem;
    background: #1D4363;
    color: #A4FF2D;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 0 0 12px 12px;
    text-decoration: none;
}
.skip-nav:focus {
    position: fixed;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: auto;
    height: auto;
}

/* Glass nav bar */
.glass-nav {
    background: rgba(13, 29, 45, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease;
}

/* Footer */
.apbf-footer {
    background-color: #f4f7fb;
    border-top: 1px solid rgba(29, 67, 99, 0.08);
    padding: 3rem 1.5rem 2rem;
}

.footer-inner {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.nav-group {
    position: relative;
}

.nav-dropdown {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.nav-group:hover > .nav-dropdown,
.nav-group:focus-within > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

/* Dropdown panel (dark glass) */
.nav-dropdown-panel {
    background: rgba(13, 29, 45, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    padding: 0.5rem;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.nav-dropdown-heading {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.35);
    padding: 0.6rem 0.75rem 0.25rem;
    margin: 0;
}

.nav-dropdown-item {
    display: block;
    padding: 0.6rem 0.75rem;
    border-radius: 0.6rem;
    text-decoration: none;
    transition: background 0.15s ease;
}
.nav-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.nav-dropdown-item-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.nav-dropdown-item-desc {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 1px;
    line-height: 1.3;
}

.nav-dropdown-item:hover .nav-dropdown-item-title {
    color: #A4FF2D;
}

.nav-dropdown-item-cta {
    background: rgba(164, 255, 45, 0.08);
}
.nav-dropdown-item-cta:hover {
    background: rgba(164, 255, 45, 0.15);
}
.nav-dropdown-item-cta .nav-dropdown-item-title {
    color: #A4FF2D;
}

.nav-dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0.35rem 0.75rem;
}

/* Header pill (dark outline) */
.header-pill-dark {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    background: transparent;
}
.header-pill-dark:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Button hover effect */
.btn-hover:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.2);
}

/* Page hero lockup (shield beside heading) */
.page-hero-lockup {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.page-hero-shield {
    height: clamp(4rem, 8vw, 7rem);
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.mobile-menu-shell {
    position: absolute;
    inset: 0;
    background: rgba(13, 29, 45, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* Form elements */
.apbf-label {
    display: block;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.apbf-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.apbf-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}
.apbf-input:focus {
    border-color: #A4FF2D;
    background: rgba(255, 255, 255, 0.12);
}

.apbf-select-wrap {
    position: relative;
}
.apbf-select-wrap::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

.apbf-select {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.apbf-select:focus {
    border-color: #A4FF2D;
    background: rgba(255, 255, 255, 0.12);
}
.apbf-select option {
    background: #1D4363;
    color: #ffffff;
}

.apbf-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.apbf-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}
.apbf-textarea:focus {
    border-color: #A4FF2D;
    background: rgba(255, 255, 255, 0.12);
}
