/* Shared action buttons — loaded after page-specific styles. */
body main .ap-action {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
    max-width: 100%;
    padding: 10px 16px 10px 20px;
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 999px;
    font: 700 14px/1.4 Arial, sans-serif;
    letter-spacing: 0;
    text-decoration: none;
    text-align: left;
    white-space: normal;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(11,45,77,.09);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
body main .ap-action-primary {
    color: #fff;
    background: linear-gradient(135deg, #0077c8, #0b2d4d);
    border-color: #0077c8;
}
body main .ap-action-secondary {
    color: #0b2d4d;
    background: #fff;
    border-color: #c8dceb;
}
body main .ap-action .ap-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 15px;
    line-height: 1;
    background: #eaf3f9;
    color: #0077c8;
}
body main .ap-action-primary .ap-action-icon {
    background: rgba(255,255,255,.18);
    color: #fff;
}
/* Keep secondary actions legible on dark hero and lifecycle panels. */
body main .hero .ap-action-secondary,
body main .section-navy .ap-action-secondary,
body main .navy .ap-action-secondary {
    background: #fff;
    color: #0b2d4d;
}
body main .ap-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(11,45,77,.16);
}
body main .ap-action-primary:hover {
    color: #fff;
    background: linear-gradient(135deg,#0065ad,#0b2d4d);
}
body main .ap-action-secondary:hover {
    color: #0b2d4d;
    background: #f5fbff;
    border-color: #0077c8;
}
body main .ap-action:focus-visible {
    outline: 3px solid #0077c8;
    outline-offset: 3px;
}
body main .ap-contact-actions .ap-action {
    min-height: 54px;
    font-size: 15px;
    padding: 12px 20px;
}
/* Allow adjacent calls to action to wrap on narrow screens. */
body main .ap-action + .ap-action { margin-left: 0; }
@media (prefers-reduced-motion: reduce) {
    body main .ap-action { transition: none; }
    body main .ap-action:hover { transform: none; }
}

/* Keyboard access and safe form visibility. */
.ap-skip-link { position: fixed; left: 12px; top: -100px; z-index: 1000; padding: 12px 18px; background: #0b2d4d; color: white; border-radius: 4px; }
.ap-skip-link:focus { top: 12px; }
.inquiry-result[hidden] { display: none !important; }
.inquiry-result .ap-action { margin: 8px 8px 4px 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } }
