/* Site footer: views/layouts/_footer.php; behaviour in assets/js/site-footer.js */
.sf-layer { display: block; height: 20px; margin: 0 59px; border-radius: 30px 30px 0 0; background: #3A3466; }
.sf-layer-2 { margin: 0 30px; background: #2B2652; }
.sf { position: relative; isolation: isolate; overflow: hidden; padding: 54px 48px 0; border-radius: 32px; color: #fff; background: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.4px) 0 0 / 18px 18px, linear-gradient(170deg, #0B0920, #16123A 55%, #221A5C); box-shadow: 0 34px 70px -34px rgba(17, 14, 45, .85); }
.sf-stars { position: absolute; inset: 0; z-index: -1; background: radial-gradient(1.2px 1.2px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 28% 62%, rgba(255, 255, 255, .8), transparent), radial-gradient(1.4px 1.4px at 46% 12%, #fff, transparent), radial-gradient(1px 1px at 63% 48%, rgba(255, 255, 255, .7), transparent), radial-gradient(1.3px 1.3px at 82% 30%, #fff, transparent), radial-gradient(1px 1px at 92% 66%, rgba(255, 255, 255, .8), transparent); animation: ftTwinkle 4.5s ease-in-out infinite; }
@keyframes ftTwinkle { 50% { opacity: .35; } }
.sf-glow { position: absolute; z-index: -1; left: 50%; bottom: -300px; width: 1000px; max-width: 120%; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(238, 93, 56, .42), rgba(155, 123, 255, .16) 60%, transparent); transform: translateX(-50%); }
.sf-top { position: absolute; top: 16px; left: 50%; display: grid; place-items: center; width: 42px; height: 42px; margin-left: -21px; border-radius: 14px; color: #fff; background: rgba(255, 255, 255, .1); transition: background .2s, transform .2s; }
.sf-top:hover { background: #EE5D38; transform: translateY(-3px); }

.sf-cta { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding: 14px 0 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.sf-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 40px; font-size: 12px; background: rgba(255, 255, 255, .09); }
.sf-tag span { width: 8px; height: 8px; border-radius: 50%; background: #2FBF71; box-shadow: 0 0 0 4px rgba(47, 191, 113, .22); }
.sf-cta h2 { margin-top: 14px; font-size: clamp(28px, 4.6vw, 58px); line-height: 1.3; }
.sf-lead { margin-top: 6px; color: rgba(255, 255, 255, .68); }
.sf-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.sf-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 16px; color: #fff; font-size: 14px; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); transition: transform .2s, background .2s; }
.sf-btn:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.sf-btn-main { background: #EE5D38; box-shadow: 0 16px 30px -14px rgba(238, 93, 56, .8); }
.sf-btn-main:hover { background: #DB4E2B; }

.sf-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.sf-stats dd { margin: 0; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.2; }
.sf-stats dt { margin-top: 2px; color: rgba(255, 255, 255, .6); font-size: 13px; }

.sf-cols { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 3fr); gap: 32px; padding: 34px 0 10px; }
.sf-logo { display: inline-block; padding: 8px 14px; border-radius: 14px; background: #fff; }
.sf-logo img { display: block; width: 96px; height: auto; }
.sf-about p { margin-top: 14px; color: rgba(255, 255, 255, .68); font-size: 13px; line-height: 2.05; }
.sf-cols h3 { color: #fff; font-size: 15px; line-height: 1.7; }
.sf-cols ul { margin: 10px 0 0; padding: 0; list-style: none; }
.sf-cols li { padding: 5px 0; font-size: 13px; line-height: 1.8; }
.sf-cols li > a { position: relative; color: rgba(255, 255, 255, .72); transition: color .2s; }
.sf-cols li > a:hover { color: #FF9A6B; }
.sf-cols li > span { color: rgba(255, 255, 255, .72); }
.sf-contact small { display: block; color: rgba(255, 255, 255, .42); font-size: 11px; line-height: 1.5; }

.sf-word { position: relative; z-index: -1; overflow: hidden; margin-top: 4px; height: clamp(84px, 15vw, 210px); text-align: center; pointer-events: none; user-select: none; -webkit-user-select: none; }
.sf-word span { display: block; font-size: clamp(100px, 19vw, 270px); line-height: 1; white-space: nowrap; color: transparent; background: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .03) 82%); -webkit-background-clip: text; background-clip: text; transform: translateY(var(--rise, 0)); will-change: transform; }
.sf-copy { position: relative; padding: 0 0 18px; color: rgba(255, 255, 255, .55); font-size: 12px; text-align: center; }
.sf-copy b { color: #fff; }

/* the light network: the columns sleep until the spark reaches them */
.sf-wire { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.sf-wire-path { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 1.5; stroke-dasharray: 5 7; }
.sf-wire-dot { fill: #FF9A6B; opacity: 0; filter: drop-shadow(0 0 7px #EE5D38); }
.sf-wire-dot.is-flying { opacity: 1; }
.sf--net .sf-cols { position: relative; z-index: 1; }
.sf--net [data-sf-stop] { opacity: .32; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.sf--net [data-sf-stop].is-lit { opacity: 1; transform: none; }
.sf--net [data-sf-stop].is-lit h3 { color: #FF9A6B; text-shadow: 0 0 16px rgba(238, 93, 56, .7); transition: color .5s .5s, text-shadow .5s; }
.sf--net .sf-word.is-hit span { animation: sfWord 1s linear; }
@keyframes sfWord {
    0%, 100% { filter: none; }
    8% { filter: brightness(3) drop-shadow(0 0 14px #EE5D38); }
    18% { filter: brightness(1.2); }
    30% { filter: brightness(2.6) drop-shadow(0 0 20px #EE5D38); }
    46% { filter: brightness(1.3); }
    60% { filter: brightness(1.9) drop-shadow(0 0 10px #EE5D38); }
}
@media (prefers-reduced-motion: reduce) {
    .sf--net [data-sf-stop] { opacity: 1; transform: none; }
}

@media (max-width: 1023px) {
    .sf { padding: 56px 26px 0; }
    .sf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
    .sf-about { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    .sf-layer { margin: 0 34px; height: 14px; }
    .sf-layer-2 { margin: 0 17px; }
    .sf { padding: 54px 18px 0; border-radius: 24px; }
    .sf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sf-btn { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .sf-stars { animation: none; }
    .sf-word span { transform: none; }
}
