/* Scoped enhancements preserve the existing Home sections and their sizes. */
[hidden] { display: none !important; }
.form-message.is-error { color: #b42318; font-weight: 600; }
.form-message.is-success { color: #13795b; }
.request-popup { border: 0; border-radius: 24px; padding: 28px; box-shadow: 0 24px 100px #102c4e30; font-family: inherit; max-width: min(92vw, 480px); }
.request-popup::backdrop { background: #102c4e66; backdrop-filter: blur(5px); }
.request-spinner { width: 54px; height: 54px; margin: 12px auto; border: 4px solid #e1e9f4; border-top-color: #173d68; border-radius: 50%; animation: request-spin .8s linear infinite; }
.request-enter { animation: request-in .24s ease both; }
.request-leave { animation: request-out .18s ease both; }
.is-liked { color: #bc2856 !important; background: #fff0f5 !important; border-color: #f5abc3 !important; }
.is-liked svg { fill: #bc2856; stroke: #bc2856; }
.heart-pop svg { animation: heart-pop .38s ease; }
.nav-partners { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #173d68; }
.mobile-bottom a { border-radius: 15px; transition: background .2s, color .2s, transform .2s; }
.mobile-bottom a[aria-current="page"] { background: #edf4ff; color: #173d68; font-weight: 700; }
.client-page #main-nav a { border-radius: 10px; transition: background .2s; }
.client-page #main-nav a:hover { background: #edf4ff; }
.client-page #main-nav a[aria-current="page"] { background: #edf4ff; color: #173d68; }
.admin-footer { border-top: 1px solid #dce6ef; background: linear-gradient(120deg,#fff,#f0f5fb); gap: 24px; }
.admin-footer nav { flex-wrap: wrap; gap: 14px 22px; }
.admin-footer a:hover { color: #173d68; text-decoration: underline; }
.faq-list { max-width: 900px; margin-inline: auto; }
.faq-item { border: 1px solid #dce6ef; border-radius: 18px; margin: 12px 0; background: #fff; overflow: hidden; }
.faq-item button { border: 0; background: transparent; color: #173d68; padding: 22px; width: 100%; text-align: left; font: inherit; font-weight: 650; display: flex; justify-content: space-between; gap: 20px; }
.faq-item button::after { content: '+'; font-size: 22px; transition: transform .2s; }
.faq-item button[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 22px; color: #50667b; line-height: 1.8; animation: request-in .25s ease; }
.partner-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.partner-card img { width: 100%; height: 150px; object-fit: contain; padding: 20px; border-radius: 16px; background: #f5f8fc; }
.partner-card p, .system-error-details { overflow-wrap: anywhere; white-space: pre-wrap; }
.partner-card .btn { margin-top: 12px; }
.trust-loading { opacity: .55; pointer-events: none; }
#trust-results { transition: opacity .2s; }
.error-reference { font-family: monospace; color: #b42318; }
@keyframes request-spin { to { transform: rotate(360deg); } }
@keyframes request-in { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes request-out { to { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes heart-pop { 50% { transform: scale(1.3); } }
@media(max-width: 760px) { .partner-grid { grid-template-columns: 1fr; } .nav-partners span { display: none; } .nav-partners { padding: 8px; } .faq-item button { padding: 18px; font-size: 14px; } .admin-footer { padding: 24px; } }
@media(prefers-reduced-motion: reduce) { .request-enter,.request-leave,.heart-pop svg,.faq-answer { animation: none; } #trust-results { transition: none; } }

.mobile-auth-link { display: none; }
@media(max-width:900px) { #main-nav .mobile-auth-link { display: block; } }
@media(max-width:380px) { .nav-actions .nav-partners { display: none; } }
