/* Seniors theme – additions that the compiled design CSS does not contain. */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.ss-skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #0E1F40; color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; }
.ss-skip-link:focus { left: 0; }

/* Mobile menu panel */
.ss-mobile-menu { border-top: 1px solid #e4e8ee; background: #fff; }
.ss-mobile-menu[hidden] { display: none; }
.ss-mobile-inner { max-width: 80rem; margin: 0 auto; padding: 12px 24px 20px; display: flex; flex-direction: column; }
.ss-mobile-link { display: block; padding: 12px 0; font-size: 15px; font-weight: 500; color: #475569; border-bottom: 1px solid #f1f5f9; }
.ss-mobile-link:hover, .ss-mobile-link.is-active { color: #0f172a; }
.ss-mobile-cta { margin-top: 16px; text-align: center; background: #047857; color: #fff; font-weight: 600; font-size: 14px; border-radius: 9999px; padding: 12px 20px; }
.ss-mobile-cta:hover { background: #065F46; }
@media (min-width: 1024px) { .ss-mobile-menu { display: none !important; } }

/* Back to top */
.ss-back-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 44px; height: 44px; border-radius: 9999px; background: #0E1F40; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(14,31,64,.3); opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; pointer-events: none; }
.ss-back-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.ss-back-top[hidden] { display: flex; }

/* Scroll reveal: paused until the element enters the viewport (only when JS runs). */
.js .reveal-in { opacity: 0; animation-play-state: paused; }
.js .reveal-in.is-visible { animation-play-state: running; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .reveal-in { opacity: 1; animation: none; } }

/* Rich text / default pages */
.ss-prose p { margin: 0 0 1em; }
.ss-prose a { color: #1D6FF2; text-decoration: underline; }

/* Contact Form 7 */
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; font-size: 14px; border: 1px solid #cbd5e1; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #047857; background: #ecfdf5; color: #065F46; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: #dc2626; background: #fef2f2; color: #991b1b; }
.wpcf7-not-valid-tip { display: block; margin-top: 4px; font-size: 12px; color: #dc2626; }
.wpcf7-not-valid { border-color: #dc2626 !important; }
.wpcf7 .wpcf7-spinner { margin: 0 12px; }
.wpcf7 p { margin: 0; }
.ss-form-card .wpcf7-form > * + * { margin-top: 20px; }
.ss-form-card .wpcf7-form > fieldset.hidden-fields-container + * { margin-top: 0; }
.ss-form-card fieldset.hidden-fields-container { border: 0; padding: 0; margin: 0; }
