/* Site footer (footer.php): calm and compact. */

.sol-footer { position: relative; overflow: hidden; isolation: isolate; background: #0b1222; color: rgba(255, 255, 255, .62); font-size: .92rem; }
.sol-footer::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background:
	radial-gradient(45% 60% at 100% 0%, rgba(217, 119, 6, .12), transparent 70%),
	radial-gradient(40% 60% at 0% 100%, rgba(99, 102, 241, .07), transparent 70%),
	linear-gradient(180deg, #0f172a, #0b1222); }
.sol-footer::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--sol-grain); background-size: 200px 200px; }
/* A soft amber hairline along the top edge. */
.sol-footer > .sol-footer__top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(245, 158, 11, .5), transparent); }
.sol-footer a { transition: color .2s ease; }
.sol-footer a:hover { color: #fff; }

/* ---------- Brand + side (invite, newsletter) ---------- */
.sol-footer__top { display: grid; gap: 36px; padding-top: 56px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
@media (min-width: 1024px) { .sol-footer__top { grid-template-columns: 1fr 420px; gap: 80px; align-items: start; padding-top: 64px; } }
.sol-footer__logo-link { display: inline-flex; padding: 8px 12px; border-radius: 12px; background: #fff; }
.sol-footer .sol-footer__logo { height: 38px; width: auto; max-width: none; }
.sol-footer .sol-footer__tagline { max-width: 440px; margin-top: 16px; font-size: .95rem; line-height: 1.65; color: rgba(255, 255, 255, .66); }
.sol-footer__reach { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 20px !important; }
.sol-footer__reach li, .sol-footer__reach a { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: rgba(255, 255, 255, .72); }
.sol-footer__reach li > span, .sol-footer__reach a > span { display: inline-flex; color: #fbbf24; }
.sol-footer__reach .sol-icon { width: 15px; height: 15px; }

.sol-footer__side { display: grid; gap: 22px; }
.sol-footer__invite { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); color: #fff !important; transition: border-color .2s ease, background .2s ease; }
.sol-footer__invite span { font-family: var(--sol-display); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.sol-footer__invite strong { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 10px; background: var(--sol-harvest); color: var(--sol-ink); font-family: var(--sol-display); font-size: .88rem; font-weight: 600; transition: background .2s ease; }
.sol-footer__invite strong .sol-icon { width: 15px; height: 15px; transition: transform .2s ease; }
.sol-footer__invite:hover { border-color: rgba(251, 191, 36, .4); background: rgba(255, 255, 255, .06); }
.sol-footer__invite:hover strong { background: #f59e0b; }
.sol-footer__invite:hover strong .sol-icon { transform: translateX(2px); }

.sol-newsletter { display: grid; gap: 8px; }
.sol-newsletter label { font-size: .86rem; font-weight: 600; color: #fff; }
.sol-newsletter__row { display: flex; align-items: center; padding: 4px 4px 4px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); transition: border-color .2s ease, box-shadow .2s ease; }
.sol-newsletter__row:focus-within { border-color: rgba(251, 191, 36, .6); box-shadow: 0 0 0 3px rgba(245, 158, 11, .14); }
.sol-newsletter input { flex: 1; min-width: 0; height: 40px; padding: 0; border: 0; background: transparent; color: #fff; font: inherit; font-size: .92rem; outline: none; box-shadow: none; }
.sol-newsletter input::placeholder { color: rgba(255, 255, 255, .4); }
.sol-newsletter__row button { flex: none; width: 40px; height: 40px; border: 0; border-radius: 9px; display: grid; place-items: center; background: #fff; color: var(--sol-ink); cursor: pointer; transition: background .2s ease; }
.sol-newsletter__row button:hover { background: #fde68a; }
.sol-newsletter__row button .sol-icon { width: 17px; height: 17px; }
.sol-newsletter small { font-size: .74rem; line-height: 1.5; color: rgba(255, 255, 255, .4); }

/* ---------- Link columns ---------- */
.sol-footer__nav { display: grid; padding-top: 8px; padding-bottom: 16px; }
@media (min-width: 768px) { .sol-footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 32px; padding-top: 44px; padding-bottom: 44px; } }
@media (min-width: 1180px) {
	.sol-footer__nav { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.sol-footer__col--wide { grid-column: span 2; }
	.sol-footer__col--wide ul { columns: 2; column-gap: 32px; }
	.sol-footer__col--wide li { break-inside: avoid; }
}
.sol-footer__col summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; list-style: none; cursor: pointer; }
.sol-footer__col summary::-webkit-details-marker { display: none; }
.sol-footer__col h3 { color: #fff; font-family: var(--sol-display); font-size: .92rem; font-weight: 600; letter-spacing: .01em; }
.sol-footer__col summary .sol-icon { width: 18px; height: 18px; color: rgba(255, 255, 255, .5); transition: transform .25s ease; }
.sol-footer__col[open] summary .sol-icon { transform: rotate(180deg); }
.sol-footer__col ul { display: grid; gap: 10px; padding-bottom: 18px !important; }
.sol-footer__col--wide ul { display: block; }
.sol-footer__col--wide li + li { margin-top: 10px; }
.sol-footer__col li a { font-size: .87rem; line-height: 1.4; color: rgba(255, 255, 255, .56); }
.sol-footer__col li a:hover { color: #fbbf24; }
@media (max-width: 767px) { .sol-footer__col { border-bottom: 1px solid rgba(255, 255, 255, .07); } }
@media (min-width: 768px) {
	.sol-footer__col summary { padding: 0 0 16px; cursor: default; }
	.sol-footer__col summary .sol-icon { display: none; }
	.sol-footer__col ul { padding-bottom: 0 !important; }
}

/* ---------- Bottom bar ---------- */
.sol-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .07); }
.sol-footer__bottom-inner { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; padding-bottom: 20px; font-size: .78rem; color: rgba(255, 255, 255, .45); }
@media (min-width: 1024px) {
	.sol-footer__bottom-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; }
	.sol-footer__bottom-inner > p { flex: 1; max-width: 620px; }
	.sol-footer__legal { flex-wrap: nowrap; }
}
.sol-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; }
.sol-footer__legal li { display: flex; align-items: center; white-space: nowrap; }
.sol-footer__legal li + li::before { content: ""; width: 3px; height: 3px; margin: 0 12px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.sol-footer__legal a { color: rgba(255, 255, 255, .58); }
@media (max-width: 1023px) {
	.sol-footer__legal { gap: 8px 18px; }
	.sol-footer__legal li + li::before { display: none; }
}
/* Phones: leave room so the last lines can scroll clear of the floating buttons. */
@media (max-width: 767px) { .sol-footer__bottom-inner { padding-bottom: 96px; } }

/* ---------- Back-to-top: navy glass button with a scroll-progress ring ---------- */
.sol-totop { width: 48px; height: 48px; border: 0; background: rgba(15, 23, 42, .9); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .1), 0 16px 30px -12px rgba(15, 23, 42, .6); transition: transform .25s ease, background .25s ease; }
.sol-totop:hover { transform: translateY(-2px); background: var(--sol-ink); }
.sol-totop .sol-icon { position: relative; width: 20px; height: 20px; }
.sol-totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.sol-totop__ring circle { fill: none; stroke: #f59e0b; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0)); transition: stroke-dashoffset .15s linear; }
