/* Shared site footer (sections/footer.blade.php). Light, four columns. Text >= 13px. */
.sf-footer { position: relative; padding: 64px 0 0; background: linear-gradient(180deg, #f7f8fd, #f1f3fb); border-top: 1px solid #e8ebf5; color: #10155c; direction: rtl; text-align: right; }
.sf-footer *, .sf-footer *::before, .sf-footer *::after { box-sizing: border-box; }
.sf-footer a { color: inherit; text-decoration: none; }
.sf-footer a:focus-visible { outline: 3px solid #8b78ee; outline-offset: 3px; border-radius: 8px; }
/* Calm background: one soft colour wave slowly moving across the footer. */
.sf-footer { overflow: hidden; background: linear-gradient(115deg, #f7f8fd 0%, #efebff 25%, #f7f8fd 45%, #e9f8f2 70%, #f7f8fd 100%); background-size: 300% 300%; animation: sf-wave 30s ease-in-out infinite; }
@keyframes sf-wave { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.sf-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 44px; }

.sf-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sf-logo img { width: 48px; height: 48px; object-fit: contain; }
.sf-logo strong { display: block; color: #10155c; font-size: 19px; font-weight: 800; line-height: 1.4; }
.sf-logo small { display: block; color: #6f7693; font-size: 13px; }
.sf-brand p { margin: 0 0 18px; color: #6f7693; font-size: 14px; line-height: 2.05; }
.sf-social { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sf-social li { margin: 0; }
.sf-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; border: 1px solid #e3e7f3; color: #5a43d6; font-size: 17px; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.sf-social a:hover { transform: translateY(-3px); background: #7057e8; border-color: #7057e8; color: #fff; }

.sf-col h2 { position: relative; margin: 0 0 18px; padding-bottom: 10px; color: #10155c; font-size: 16px; font-weight: 800; line-height: 1.6; }
.sf-col h2::after { content: ''; position: absolute; right: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #42d3a1, #7057e8); }
.sf-col ul { margin: 0; padding: 0; list-style: none; }
.sf-col li { margin: 0 0 6px; }
.sf-col:not(.sf-contact) a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: #4b5476; font-size: 14px; transition: color .2s, transform .2s; }
.sf-col:not(.sf-contact) a::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #c9c1f3; transition: background .2s; }
.sf-col:not(.sf-contact) a:hover { color: #7057e8; transform: translateX(-3px); }
.sf-col:not(.sf-contact) a:hover::before { background: #7057e8; }
.sf-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; color: #4b5476; font-size: 14px; line-height: 1.9; }
.sf-contact li i { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff; border: 1px solid #e3e7f3; color: #7057e8; font-size: 15px; }
.sf-contact a:hover { color: #7057e8; }
.sf-contact bdi { direction: ltr; unicode-bidi: isolate; font-weight: 700; color: #10155c; }
.sf-seal { margin-top: 8px; }
.sf-seal img { display: block; max-width: 110px; height: auto; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid #e3e7f3; }

.sf-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding: 18px 0 22px; border-top: 1px solid #e3e7f3; }
.sf-bottom p { margin: 0; color: #6f7693; font-size: 13px; line-height: 1.9; }
.sf-bottom ul { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
.sf-bottom li { margin: 0; }
.sf-bottom a { display: inline-flex; align-items: center; min-height: 32px; color: #4b5476; font-size: 13px; font-weight: 600; transition: color .2s; }
.sf-bottom a:hover { color: #7057e8; }

@media (max-width: 1199px) {
    .sf-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
}
@media (max-width: 575px) {
    .sf-footer { padding-top: 44px; }
    .sf-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; padding-bottom: 30px; }
    .sf-brand, .sf-contact { grid-column: 1 / -1; }
    .sf-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .sf-footer { animation: none; }
    .sf-footer *, .sf-footer *::before, .sf-footer *::after { transition: none !important; animation: none !important; }
}
