/* =====================================================
   FOOTER
   ===================================================== */
.srnt-footer {
    --sf-navy: #211D70;
    --sf-navy-dark: #171448;
    --sf-bar: #171448;
    --sf-orange: #ED1C24;
    --sf-gold: #FF4249;
    --sf-text: #F3F4FC;

    position: relative;
    width: 100%;
    overflow: hidden;
    color: var(--sf-text);
    font-family: 'Poppins', sans-serif;
    background: var(--sf-navy-dark);
}
.sf-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding-left: clamp(16px, 6vw, 110px);
    padding-right: clamp(16px, 6vw, 110px);
}

/* ----- Toran ----- */
.sf-toran {
    position: absolute;
    z-index: 3;
    top: 0; left: 0; right: 0;
    height: 22px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='22'%3E%3Cpath d='M0 0h24L12 22z' fill='%23f26a21'/%3E%3Cpath d='M24 0h24L36 22z' fill='%23ffb25b'/%3E%3C/svg%3E")
        repeat-x 0 0;
    pointer-events: none;
}

/* ----- Scene (background image) ----- */
.sf-scene {
    position: relative;
    padding-top: 37px;
    padding-bottom: 35px;
    background-color: var(--sf-navy);
    background-image:
        linear-gradient(180deg, rgba(23,20,72,.80) 0%, rgba(23,20,72,.66) 55%, rgba(23,20,72,.18) 100%),
        linear-gradient(270deg, rgba(23,20,72,.60) 0%, rgba(23,20,72,0) 65%),
        var(--sf-bg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
}

/* ----- Brand ----- */
.sf-brand { display: inline-flex; align-items: center; gap: 14px; }
.sf-logo {
    flex-shrink: 0;
    width: 70px; height: 70px;
    padding: 4px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--sf-orange);
    box-shadow: 0 0 0 3px rgba(237,28,36,.25), 0 6px 18px rgba(0,0,0,.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.sf-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.sf-name {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.15rem, 1.6vw, 1.55rem);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.sf-name-1 { color: #fff; }
.sf-name-2 { color: var(--sf-orange); }
.sf-tagline {
    margin: 10px 0 12px;
    font-size: .95rem;
    line-height: 1.5;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.sf-social { display: flex; flex-wrap: wrap; gap: 10px; }
.sf-social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(23,20,72,.55);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.sf-social a:hover { background: var(--sf-orange); border-color: var(--sf-orange); transform: translateY(-3px); }

.sf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.sf-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 18px;
    border-radius: 10px;
    border: 0;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.sf-btn:hover { transform: translateY(-2px); color: #fff; text-decoration: none; }
.sf-btn-main {
    background: linear-gradient(135deg, #FF4249 0%, #C8101C 100%);
    box-shadow: 0 0 0 6px rgba(237,28,36,.22), 0 8px 20px rgba(200,16,28,.45);
}
.sf-btn-ghost {
    background: rgba(23,20,72,.6);
    border: 1.5px solid rgba(255,255,255,.85);
}
.sf-btn-ghost:hover { background: #fff; color: var(--sf-navy); }

/* ----- Link columns ----- */
.sf-title {
    position: relative;
    margin: 0 0 14px;
    padding-bottom: 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 2px 10px rgba(0,0,0,.75);
}
.sf-title::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 58px; height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--sf-orange), var(--sf-gold));
}
.sf-links { list-style: none; margin: 0; padding: 0; }
.sf-links li + li { margin-top: 2px; }
.sf-links a {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    padding: 4px 0;
    color: var(--sf-text);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 2px 10px rgba(0,0,0,.75);
    transition: color .2s ease, transform .25s ease;
}
.sf-links a::before {
    content: '';
    flex-shrink: 0;
    width: 8px; height: 8px;
    margin-top: 7px;
    background: var(--sf-orange);
    transform: rotate(45deg);
    transition: transform .3s ease, background .2s ease;
}
.sf-links a:hover { color: #fff; transform: translateX(5px); }
.sf-links a:hover::before { transform: rotate(225deg) scale(1.2); background: var(--sf-gold); }

/* ----- Bottom bar ----- */
.sf-bar {
    position: relative;
    z-index: 2;
    background: var(--sf-bar);
    border-top: 2px solid rgba(255,255,255,.85);
    border-bottom: 6px solid var(--sf-orange);
}
.sf-bar-in {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 30px;
    padding-top: 6px;
    padding-bottom: 12px;
}
.sf-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 480px;
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px 28px;
    align-items: center;
}
.sf-contact li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sf-contact li:first-child { grid-column: 1 / -1; }                        /* Address poori line me */
.sf-contact li:nth-child(3) { border-left: 1px solid rgba(255,255,255,.28); padding-left: 28px; }  /* Email ke left me divider */
.sf-contact li + li { margin-left: 0; }
.sf-ico {
    flex-shrink: 0;
    width: 38px; height: 38px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    background: var(--sf-orange);
}
.sf-contact a { color: #fff; font-size: .95rem; font-weight: 500; text-decoration: none; word-break: break-word; transition: color .2s ease; }
.sf-contact a:hover { color: var(--sf-gold); }
.sf-copy { font-size: .95rem; color: rgba(255,255,255,.85); text-align: right; line-height: 1.5; }
.sf-credit { font-size: .85rem; color: rgba(255,255,255,.75); }
.sf-credit a { color: var(--sf-gold); font-weight: 600; text-decoration: none; transition: color .2s ease; }
.sf-credit a:hover { color: #fff; text-decoration: underline; }

/* ----- One reveal when footer enters view ----- */
.srnt-footer.f-armed .f-reveal { opacity: 0; transform: translateY(22px); }
.srnt-footer.f-armed.f-in .f-reveal {
    opacity: 1;
    transform: none;
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1);
    transition-delay: calc(var(--i, 0) * 90ms);
}

.srnt-footer a:focus-visible, .sfab button:focus-visible, .sfab a:focus-visible {
    outline: 2px solid #FF4249;
    outline-offset: 3px;
}

/* ----- Tablet ----- */
@media (max-width: 991.98px) {
    .sf-scene { padding-top: 50px; padding-bottom: 100px; }
    .sf-bar-in { justify-content: flex-start; }
    .sf-copy { text-align: left; }
}

/* ----- Mobile ----- */
@media (max-width: 575.98px) {
    .sf-scene {
        padding-top: 46px;
        padding-bottom: 70px;
        background-image:
            linear-gradient(180deg, rgba(23,20,72,.78) 0%, rgba(23,20,72,.45) 70%, rgba(23,20,72,.1) 100%),
            var(--sf-bg);
    }
    .sf-logo { width: 68px; height: 68px; }
    .sf-title { font-size: 1.2rem; margin-bottom: 16px; }
    .sf-links a { font-size: .95rem; }
    .sf-contact { grid-template-columns: 1fr; }
    .sf-contact li:nth-child(3) { border-left: 0; padding-left: 0; }
    .sf-contact a { font-size: .95rem; }
    .sf-ico { width: 40px; height: 40px; font-size: 15px; }
    .sfab { right: 12px; gap: 10px; }
    .sfab-list { gap: 10px; }
    .sfab .sfab-item { width: 44px; height: 44px; font-size: 19px; }
    .sfab .sfab-main { width: 52px; height: 52px; font-size: 22px; }
    .sfab .sfab-donate { width: 52px; height: 52px; font-size: 21px; }
    .sfab .sfab-top { width: 44px; height: 44px; }
}

/* =====================================================
   POLICY POPUP (MODAL)
   ===================================================== */
.spm {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    font-family: 'Poppins', sans-serif;
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s ease, visibility 0s linear .25s;
}
.spm.open {
    visibility: visible;
    opacity: 1;
    transition: opacity .25s ease, visibility 0s;
}
.spm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(23, 20, 72, .72);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.spm-dialog {
    position: relative;
    width: 100%;
    max-width: 860px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border-top: 5px solid #ED1C24;
    box-shadow: 0 24px 60px rgba(0,0,0,.45);
    transform: translateY(24px) scale(.96);
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
    outline: none;
}
.spm.open .spm-dialog { transform: none; }

.spm-head {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #211D70 0%, #49459D 100%);
    color: #fff;
}
.spm-head-title {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}
.spm-x {
    flex-shrink: 0;
    width: 38px; height: 38px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    background: rgba(255,255,255,.14);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.spm-x:hover { background: #ED1C24; transform: rotate(90deg); }

.spm-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 22px clamp(18px, 4vw, 34px);
    color: #202039;
    font-size: .95rem;
    line-height: 1.7;
    -webkit-overflow-scrolling: touch;
}
.spm-body h3 {
    margin: 0 0 12px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #211D70;
}
.spm-body h4 {
    margin: 22px 0 8px;
    font-size: 1.02rem;
    font-weight: 600;
    color: #211D70;
}
.spm-body p { margin: 0 0 10px; }
.spm-body ul { margin: 0 0 10px; padding-left: 0; list-style: none; }
.spm-body ul li {
    position: relative;
    margin-bottom: 7px;
    padding-left: 22px;
}
.spm-body ul li::before {
    content: '';
    position: absolute;
    left: 2px; top: 10px;
    width: 7px; height: 7px;
    background: #ED1C24;
    transform: rotate(45deg);
}
.spm-body strong { color: #211D70; font-weight: 600; }
.spm-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 8px 0 14px;
    padding: 14px 16px;
    border-left: 4px solid #ED1C24;
    border-radius: 8px;
    background: #F3F4FC;
}
.spm-contact i { width: 18px; margin-right: 6px; color: #ED1C24; }
.spm-thanks {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #E1E3EF;
    font-style: italic;
    color: #626477;
}

.spm-foot {
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    padding: 12px 20px;
    background: #F3F4FC;
    border-top: 1px solid #E1E3EF;
}
.spm-ok { box-shadow: 0 6px 16px rgba(200,16,28,.35); padding: 8px 26px; }

.spm-body::-webkit-scrollbar { width: 8px; }
.spm-body::-webkit-scrollbar-thumb { background: #E1E3EF; border-radius: 8px; }
.spm-body::-webkit-scrollbar-thumb:hover { background: #ED1C24; }

body.spm-lock { overflow: hidden; }

@media (max-width: 575.98px) {
    .spm { padding: 10px; }
    .spm-dialog { max-height: 92vh; border-radius: 14px; }
    .spm-head-title { font-size: 1.1rem; }
    .spm-body h3 { font-size: 1.3rem; }
}

/* =====================================================
   FLOATING BUTTONS
   ===================================================== */
.sfab {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 9990;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
}
.sfab-list { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.sfab.open .sfab-list { pointer-events: auto; }

.sfab .sfab-item {
    position: relative;
    width: 46px; height: 46px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    background: var(--c);
    box-shadow: 0 6px 16px rgba(0,0,0,.3);
    cursor: pointer;
    opacity: 0;
    transform: translateY(26px) scale(.3);
    transition: opacity .25s ease, transform .45s cubic-bezier(.34,1.56,.64,1);
    transition-delay: calc((3 - var(--i)) * 40ms);
}
.sfab.open .sfab-item {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--i) * 70ms);
}
.sfab.open .sfab-item:hover { transform: scale(1.12) translateY(-2px); color: #fff; }
.sfab .sfab-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--c);
    opacity: 0;
}
.sfab.open .sfab-item::after { animation: sfabRing 2s ease-out infinite; animation-delay: calc(var(--i) * 250ms + 600ms); }

.sfab-tip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translate(8px, -50%);
    padding: 5px 11px;
    border-radius: 8px;
    background: #211D70;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .3s ease;
}
.sfab.open .sfab-tip { opacity: 1; transform: translate(0, -50%); transition-delay: calc(var(--i) * 70ms + 160ms); }

/* ----- Message (main) button ----- */
.sfab .sfab-main {
    position: relative;
    width: 56px; height: 56px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    background: linear-gradient(135deg, #FF4249, #C8101C);
    box-shadow: 0 8px 22px rgba(200,16,28,.5);
    cursor: pointer;
    transition: transform .2s ease;
}
.sfab .sfab-main:hover { transform: scale(1.08); }
.sfab-main::before, .sfab-main::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(237,28,36,.55);
    animation: sfabRing 2.2s ease-out infinite;
    z-index: -1;
}
.sfab-main::after { animation-delay: 1.1s; }
.sfab.open .sfab-main::before, .sfab.open .sfab-main::after { animation: none; opacity: 0; }
.sfab-main i { position: absolute; transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .2s ease; }
.sfab-ic-close { opacity: 0; transform: rotate(-90deg) scale(.4); }
.sfab.open .sfab-ic-close { opacity: 1; transform: none; }
.sfab.open .sfab-ic-open { opacity: 0; transform: rotate(90deg) scale(.4); }
.sfab:not(.open) .sfab-ic-open { animation: sfabWiggle 4s ease-in-out infinite; }

/* ----- Donate floating button (message aur top-scroll ke beech me) ----- */
.sfab .sfab-donate {
    position: relative;
    width: 56px; height: 56px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 23px;
    line-height: 1;
    text-decoration: none;
    background: linear-gradient(135deg, #FF4249, #C8101C);
    box-shadow: 0 8px 22px rgba(200,16,28,.5);
    cursor: pointer;
    transition: transform .2s ease;
}
.sfab .sfab-donate:hover,
.sfab .sfab-donate:focus { transform: scale(1.08); color: #fff; text-decoration: none; }
.sfab-donate::before, .sfab-donate::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(237,28,36,.55);
    animation: sfabRing 2.2s ease-out infinite;
    z-index: -1;
}
.sfab-donate::after { animation-delay: 1.1s; }
.sfab-donate i { animation: sfabBeat 1.6s ease-in-out infinite; }

.sfab .sfab-donate .sfab-dtip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translate(8px, -50%);
    padding: 5px 11px;
    border-radius: 8px;
    background: #211D70;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .3s ease;
}
.sfab .sfab-donate:hover .sfab-dtip,
.sfab .sfab-donate:focus-visible .sfab-dtip { opacity: 1; transform: translate(0, -50%); }

/* ----- Scroll to top ----- */
.sfab .sfab-top {
    position: relative;
    width: 48px; height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #211D70;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,.3);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}
.sfab-top svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sfab-top .trk { fill: none; stroke: rgba(255,255,255,.2); stroke-width: 3; }
.sfab-top .bar {
    fill: none;
    stroke: #FF4249;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 131.95;
    stroke-dashoffset: 131.95;
    transition: stroke-dashoffset .15s linear;
}
.sfab-top-in {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    line-height: 1;
}
.sfab-top-in i { font-size: 10px; color: #FF4249; }
.sfab-top-in b { font-size: 10px; font-weight: 600; }
.sfab .sfab-top:hover { transform: translateY(-3px); background: #C8101C; }
.sfab-top:hover .bar { stroke: #fff; }
.sfab-top:hover i { animation: sfabUp .6s ease infinite; color: #fff; }

/* ----- Toast ----- */
.sfab-toast {
    position: absolute;
    right: calc(100% + 12px);
    bottom: 4px;
    width: max-content;
    max-width: min(240px, calc(100vw - 100px));
    padding: 10px 14px;
    border-radius: 12px;
    background: #211D70;
    color: #fff;
    font-size: 12.5px;
    line-height: 1.45;
    box-shadow: 0 8px 22px rgba(0,0,0,.35);
    opacity: 0;
    transform: translateX(10px) scale(.95);
    pointer-events: none;
    transition: opacity .25s ease, transform .3s ease;
}
.sfab-toast.show { opacity: 1; transform: none; }

@keyframes sfabRing   { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.75); opacity: 0; } }
@keyframes sfabWiggle { 0%,78%,100% { transform: rotate(0); } 82% { transform: rotate(-18deg); } 86% { transform: rotate(16deg); } 90% { transform: rotate(-10deg); } 94% { transform: rotate(6deg); } }
@keyframes sfabUp     { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes sfabBeat   { 0%,100% { transform: scale(1); } 15% { transform: scale(1.22); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } 60% { transform: scale(1); } }

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
    .srnt-footer *, .srnt-footer *::before, .srnt-footer *::after,
    .sfab *, .sfab *::before, .sfab *::after,
    .spm, .spm *, .spm *::before, .spm *::after { animation: none !important; transition: none !important; }
    .srnt-footer.f-armed .f-reveal { opacity: 1; transform: none; }
}

/* =====================================================
   DYNAMIC SOCIAL ICONS (Admin > Software Data > Social Media Links)
   ===================================================== */
.sf-social a:hover {
    background: var(--brand, var(--sf-orange));
    border-color: var(--brand, var(--sf-orange));
    color: #fff;
}
/* Federation premium footer */
.srnt-footer { isolation:isolate; background:#171448; }
.srnt-footer .sf-toran { height:4px; background:linear-gradient(90deg,#211D70,#ED1C24,#211D70); }
.srnt-footer .sf-scene { padding:48px 0 38px; background-image:linear-gradient(120deg,rgba(23,20,72,.97),rgba(33,29,112,.91)),var(--sf-bg); background-position:center; }
.sf-scene::before { content:''; position:absolute; inset:0; pointer-events:none; background:radial-gradient(ellipse at 10% 20%,rgba(73,69,157,.45),transparent 48%),radial-gradient(ellipse at 90% 90%,rgba(237,28,36,.17),transparent 45%); background-size:140% 140%; animation:sfGlow 14s ease-in-out infinite alternate; }
@keyframes sfGlow { to { background-position:100% 100%; } }
.srnt-footer .sf-wrap { max-width:1800px; padding-inline:clamp(20px,4vw,80px); }
.sf-main { display:grid; grid-template-columns:minmax(240px,1.45fr) repeat(4,minmax(0,1fr)); gap:clamp(20px,2.5vw,42px); align-items:start; }
.sf-main > * { min-width:0; }
.sf-brand-col { padding:20px; border:1px solid rgba(255,255,255,.15); border-radius:18px; background:rgba(255,255,255,.06); box-shadow:0 4px 0 rgba(0,0,0,.12); }
.sf-brand { gap:12px; max-width:100%; }
.sf-logo { width:64px; height:64px; border:2px solid #ED1C24; box-shadow:0 0 0 4px rgba(255,255,255,.12); }
.sf-name { font-size:clamp(17px,1.35vw,23px); overflow-wrap:anywhere; text-shadow:none; }
.sf-name-2 { color:#fff; }
.sf-tagline { color:#F3F4FC; font-size:14px; margin:16px 0; text-shadow:none; overflow-wrap:anywhere; }
.sf-social a { background:rgba(255,255,255,.09); border-radius:11px; box-shadow:0 3px 0 rgba(0,0,0,.14); }
.sf-actions { gap:10px; }
.sf-btn { position:relative; overflow:hidden; justify-content:center; font-size:14px; padding:11px 15px; border-radius:10px; }
.sf-btn-main { background:linear-gradient(135deg,#FF4249,#C8101C); box-shadow:0 3px 0 #C8101C,0 7px 16px rgba(0,0,0,.15); }
.sf-btn-ghost { background:#fff; color:#211D70; border:1px solid #E1E3EF; box-shadow:0 3px 0 #49459D; }
.sf-btn-ghost:hover { background:#F3F4FC; color:#211D70; }
.sf-btn::after { content:''; position:absolute; inset:0; background:linear-gradient(110deg,transparent 25%,rgba(255,255,255,.25) 50%,transparent 75%); transform:translateX(-120%); pointer-events:none; }
.sf-btn:hover::after { transform:translateX(120%); transition:transform .65s ease; }
.sf-title { font-family:inherit; font-size:16px; line-height:1.4; text-shadow:none; margin:8px 0 14px; }
.sf-title::after { width:40px; height:3px; background:#ED1C24; }
.sf-links a { font-size:14px; font-weight:400; line-height:1.6; text-shadow:none; gap:9px; padding:7px 0; overflow-wrap:anywhere; }
.sf-links a::before { width:6px; height:6px; background:#FF4249; margin-top:8px; }
.sf-links a:hover { color:#fff; }
.sf-bar { background:#171448; border-top:1px solid rgba(255,255,255,.14); border-bottom:4px solid #ED1C24; }
.sf-bar-in { padding-block:20px; display:block; }
.sf-contact { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr); gap:12px; }
.sf-contact li,.sf-contact li:first-child,.sf-contact li:nth-child(3) { grid-column:auto; border:1px solid rgba(255,255,255,.12); border-radius:12px; padding:12px; background:rgba(255,255,255,.05); }
.sf-contact a { font-size:13px; overflow-wrap:anywhere; }
.sf-ico { background:linear-gradient(135deg,#FF4249,#C8101C); box-shadow:0 3px 0 rgba(0,0,0,.18); }
.sf-copy { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 20px; text-align:left; border-top:1px solid rgba(255,255,255,.12); padding-block:16px; font-size:13px; }
.sf-credit { font-size:12px; } .sf-credit a { color:#fff; }
.spm-dialog { max-height:88dvh; } .spm-body { overflow-wrap:anywhere; min-height:0; }
.sfab:not(.open) .sfab-item { visibility:hidden; } .sfab.open .sfab-item { visibility:visible; }
@media(max-width:1199px) { .sf-main { grid-template-columns:repeat(4,minmax(0,1fr)); } .sf-brand-col { grid-column:1/-1; } }
@media(max-width:767px) { .srnt-footer .sf-scene { padding:32px 0 24px; } .sf-main { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 16px; } .sf-contact { grid-template-columns:1fr; } .sf-copy { padding-bottom:24px; flex-direction:column; } .srnt-footer .sf-wrap { padding-inline:16px; } .sf-title { font-size:15px; } .sf-links a { font-size:13px; } .sfab { right:8px; } }
@media(max-width:359px) { .sf-main { grid-template-columns:1fr; } .sf-brand-col { padding:14px; } }
@media(prefers-reduced-motion:reduce) { .sf-scene::before { animation:none; } }


/* Refined open brand layout and subtle animated background */
#srntFooter .sf-brand-col {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
#srntFooter .sf-scene { isolation: isolate; overflow: hidden; }
#srntFooter .sf-scene::before {
    inset: -25%;
    background: radial-gradient(ellipse at 22% 30%, rgba(73,69,157,.55), transparent 42%),
                radial-gradient(ellipse at 78% 70%, rgba(237,28,36,.19), transparent 38%);
    background-size: 100% 100%;
    animation: aafFooterGlow 18s ease-in-out infinite alternate;
    z-index: 0;
}
#srntFooter .sf-scene::after {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: radial-gradient(circle, rgba(255,255,255,.14) 1px, transparent 1px);
    background-size: 30px 30px; opacity: .24;
    animation: aafFooterDots 35s linear infinite;
}
@keyframes aafFooterGlow { from { transform: translate(-5%,-3%) scale(1); } to { transform: translate(5%,3%) scale(1.12); } }
@keyframes aafFooterDots { to { background-position: 60px 60px; } }
#srntFooter .sf-links a {
    display: inline-block; position: relative; max-width: 100%;
    padding: 7px 0 7px 15px; text-decoration: none;
    transition: transform .25s ease, color .25s ease;
}
#srntFooter .sf-links a::before {
    position: absolute; left: 0; top: 15px; margin: 0;
    width: 6px; height: 6px; background: #FF4249;
}
#srntFooter .sf-links a::after {
    content: ''; position: absolute; left: 15px; right: 0; bottom: 3px;
    height: 2px; border-radius: 2px;
    background: linear-gradient(90deg,#ED1C24,#FF4249);
    transform: scaleX(0); transform-origin: left;
    transition: transform .3s ease;
}
#srntFooter .sf-links a:hover, #srntFooter .sf-links a:focus-visible {
    color: #FFFFFF; transform: translateX(3px); text-decoration: none;
}
#srntFooter .sf-links a:hover::after, #srntFooter .sf-links a:focus-visible::after { transform: scaleX(1); }
@media(max-width:767px) {
    #srntFooter .sf-brand-col { padding: 0 0 8px; }
    #srntFooter .sf-links a { padding-left: 12px; }
    #srntFooter .sf-links a::after { left: 12px; }
}
@media(prefers-reduced-motion:reduce) {
    #srntFooter .sf-scene::before, #srntFooter .sf-scene::after { animation: none; }
    #srntFooter .sf-links a, #srntFooter .sf-links a::after { transition: none; }
    #srntFooter .sf-links a:hover, #srntFooter .sf-links a:focus-visible { transform: none; }
}
