/* ==========================================================================
   SITE FOOTER (.ft): CTA card, brand + live clock, link columns, newsletter,
   promises strip, bottom bar. Content is edited in Admin → Footer.
   Light on the GPU: static gradients, no blur filters.
   ========================================================================== */
.ft { --ft-ink: #0A0B14; --ft-text: #A3A8C3; --ft-line: rgba(255, 255, 255, .08); --ft-ease: cubic-bezier(.16, 1, .3, 1);
    position: relative; overflow: hidden; isolation: isolate; padding: clamp(4rem, 8vw, 6rem) 0 0; color: var(--ft-text); background: var(--ft-ink); }
.ft::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 2;
    background: linear-gradient(90deg, transparent, #8B5CF6, #EC4899, #FB923C, transparent); background-size: 200% 100%; animation: ftFlow 7s linear infinite; }
@keyframes ftFlow { to { background-position: -200% 0; } }
.ft-glow { position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background: radial-gradient(50% 45% at 0% 0%, rgba(109, 40, 217, .28), transparent 70%), radial-gradient(45% 50% at 100% 30%, rgba(219, 39, 119, .16), transparent 70%), radial-gradient(40% 40% at 50% 110%, rgba(45, 91, 255, .18), transparent 70%); }
.ft-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.ft a { color: inherit; text-decoration: none; }
.ft .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* reveal (main.js adds .is-visible to [data-footer]) */
.ft-rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ft-ease), transform 1s var(--ft-ease); transition-delay: calc(var(--i, 0) * 90ms); }
.ft.is-visible .ft-rv { opacity: 1; transform: none; }

/* ---- CTA card ---- */
.ft-cta { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem; padding: clamp(2rem, 4.5vw, 3.2rem); border-radius: 32px; overflow: hidden; isolation: isolate;
    background: radial-gradient(90% 120% at 100% 0%, rgba(219, 39, 119, .35), transparent 55%), radial-gradient(80% 120% at 0% 100%, rgba(45, 91, 255, .3), transparent 55%), linear-gradient(140deg, #1A1140, #2E1065); border: 1px solid rgba(255, 255, 255, .1); }
.ft-cta-ring { position: absolute; right: -90px; top: -90px; z-index: -1; width: 300px; height: 300px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .18); animation: ftSpin 40s linear infinite; }
.ft-cta-ring::after { content: ''; position: absolute; inset: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); }
@keyframes ftSpin { to { transform: rotate(360deg); } }
.ft-cta-copy { max-width: 640px; }
.ft-eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #DDD6FE; }
.ft-live { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: ftPing 1.8s infinite; }
@keyframes ftPing { 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.ft-cta h2 { margin: .8rem 0 .7rem; font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.06; letter-spacing: -.035em; color: #fff; }
.ft-grad { background: linear-gradient(110deg, #C4B5FD, #F9A8D4 55%, #FDBA74); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ft-cta p { margin: 0; font-size: 1.04rem; line-height: 1.6; color: rgba(226, 232, 255, .75); }
.ft-cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.ft-btn { display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.4rem; border-radius: 999px; font-weight: 800; font-size: .98rem; transition: transform .4s var(--ft-ease), box-shadow .4s, background .3s; }
.ft-btn-main { position: relative; overflow: hidden; padding-right: .5rem; color: #0B1023 !important; background: #fff; }
.ft-btn-main::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(167, 139, 250, .35) 50%, transparent 70%); transform: translateX(-100%); transition: transform .8s var(--ft-ease); }
.ft-btn-main:hover::before { transform: translateX(100%); }
.ft-btn-main:hover { box-shadow: 0 18px 40px -14px rgba(196, 181, 253, .7); }
.ft-btn-ic { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #7C3AED, #DB2777); transition: transform .4s var(--ft-ease); }
.ft-btn-main:hover .ft-btn-ic { transform: rotate(-45deg); }
.ft-btn-ghost { color: #fff !important; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); }
.ft-btn-ghost i { color: #4ADE80; font-size: 1.1rem; }
.ft-btn-ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }

/* ---- Main grid ---- */
.ft-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.45fr; gap: clamp(1.8rem, 3.5vw, 3rem); padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.ft-logo img { display: block; width: 168px; height: auto; }
.ft-about { margin: 1.2rem 0 0; max-width: 320px; font-size: .96rem; line-height: 1.65; }
.ft-clock { display: inline-flex; align-items: center; gap: .75rem; margin-top: 1.4rem; padding: .6rem 1rem .6rem .8rem; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--ft-line); }
.ft-clock-dot { width: 10px; height: 10px; border-radius: 50%; background: #94A3B8; }
.ft-clock.is-online .ft-clock-dot { background: #22C55E; animation: ftPing 1.8s infinite; }
.ft-clock strong { display: block; font-family: var(--font-heading); font-size: 1.05rem; color: #fff; font-variant-numeric: tabular-nums; }
.ft-clock small { display: block; font-size: .78rem; }
.ft-contact { margin: 1.2rem 0 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.ft-contact a { display: inline-flex; align-items: center; gap: .65rem; font-size: .93rem; transition: color .25s; }
.ft-contact i { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; font-size: .8rem; color: #C4B5FD; background: rgba(255, 255, 255, .05); transition: background .3s, color .3s; }
.ft-contact a:hover { color: #fff; }
.ft-contact a:hover i { color: #fff; background: linear-gradient(135deg, #7C3AED, #DB2777); }
.ft-social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.ft-social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--ft-line); background: rgba(255, 255, 255, .03); transition: transform .4s var(--ft-ease), background .3s, color .3s, border-color .3s; }
.ft-social a:hover { color: #fff; transform: translateY(-4px); background: linear-gradient(135deg, #7C3AED, #DB2777); border-color: transparent; }

.ft-col h4, .ft-news h4 { margin: 0 0 1.3rem; display: flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.ft-col h4::before, .ft-news h4::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #8B5CF6, #EC4899); }
.ft-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .8rem; }
.ft-col a { position: relative; display: inline-flex; align-items: center; gap: .5rem; font-size: .95rem; transition: color .3s, transform .4s var(--ft-ease); }
.ft-col a::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background: linear-gradient(90deg, #A78BFA, #F472B6); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ft-ease); }
.ft-col a:hover { color: #fff; transform: translateX(4px); }
.ft-col a:hover::after { transform: scaleX(1); transform-origin: left; }
.ft-col em { padding: .1rem .45rem; border-radius: 999px; font-style: normal; font-size: .66rem; font-weight: 800; letter-spacing: .04em; color: #0B1023; background: linear-gradient(135deg, #FDBA74, #F9A8D4); }
.ft-more { color: #C4B5FD !important; font-weight: 700; }
.ft-more i { font-size: .7rem; }

.ft-news { padding: 1.5rem; border-radius: 24px; background: rgba(255, 255, 255, .04); border: 1px solid var(--ft-line); align-self: start; }
.ft-news p { margin: 0 0 1.1rem; font-size: .93rem; line-height: 1.55; }
.ft-news-form { display: flex; align-items: center; padding: .3rem .3rem .3rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: border-color .3s, box-shadow .3s; }
.ft-news-form:focus-within { border-color: #A78BFA; box-shadow: 0 0 0 4px rgba(167, 139, 250, .15); }
.ft-news-form input { flex: 1; min-width: 0; padding: .6rem 0; border: 0; outline: 0; font-size: .93rem; color: #fff; background: transparent; }
.ft-news-form input::placeholder { color: rgba(226, 232, 255, .4); }
.ft-news-form button { flex-shrink: 0; width: 42px; height: 42px; border: 0; border-radius: 50%; color: #fff; cursor: pointer; background: linear-gradient(135deg, #7C3AED, #DB2777); transition: transform .4s var(--ft-ease); }
.ft-news-form button:hover { transform: rotate(-45deg) scale(1.05); }
.ft-news-note { display: block; margin-top: .8rem; font-size: .78rem; color: rgba(163, 168, 195, .75); }
.ft-news-note i { margin-right: .3rem; font-size: .7rem; }

/* ---- Promises strip ---- */
.ft-promises { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; margin: 0; padding: 1.3rem 0; list-style: none; font-size: .9rem; font-weight: 600; color: #E2E8F0; }
.ft-promises i { margin-right: .5rem; font-size: .75rem; color: #4ADE80; }

/* ---- Bottom bar ---- */
.ft-bottom { border-top: 1px solid var(--ft-line); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding: 1.6rem 0 1.8rem; font-size: .86rem; }
.ft-bottom p { margin: 0; }
.ft-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0; padding: 0; list-style: none; }
.ft-legal a { transition: color .25s; }
.ft-legal a:hover { color: #fff; }
.ft-bottom-end { display: flex; align-items: center; gap: 1.2rem; }
/* Directory verification badge (TechBehemoths): its logo has dark text, so it sits on a small white card */
.ft-verified { display: inline-flex; align-items: center; padding: .35rem .7rem; border-radius: 10px; background: #fff; opacity: .9; transition: opacity .25s, transform .3s var(--ft-ease); }
.ft-verified:hover { opacity: 1; transform: translateY(-2px); }
.ft-verified img { display: block; height: 30px; width: auto; max-width: 150px; }
.ft-tagline { display: block; margin-top: .9rem; font-size: .95rem; font-style: italic; color: rgba(196, 181, 253, .85); }
.ft-top { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); color: #fff; transition: background .3s, transform .4s var(--ft-ease); }
.ft-top:hover { color: #fff; background: linear-gradient(135deg, #7C3AED, #DB2777); border-color: transparent; transform: translateY(-4px); }

/* ---- Responsive ---- */
@media (max-width: 1180px) {
    .ft-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ft-brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 0 2rem; align-items: start; }
    .ft-news { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .ft { padding-top: 3rem; }
    .ft-cta { border-radius: 24px; padding: 1.6rem; }
    .ft-cta-actions, .ft-btn { width: 100%; }
    .ft-btn { justify-content: center; }
    .ft-btn-main { justify-content: space-between; padding-left: 1.4rem; }
    .ft-main { grid-template-columns: 1fr 1fr; gap: 2rem 1.2rem; }
    .ft-brand { display: block; }
    .ft-col:first-of-type { grid-column: 1 / -1; }
    .ft-col:first-of-type ul { grid-template-columns: 1fr 1fr; }
    .ft-promises { justify-content: flex-start; flex-direction: column; gap: .55rem; }
    .ft-bottom { flex-direction: column; align-items: flex-start; padding-bottom: 6rem; }
}
@media (prefers-reduced-motion: reduce) {
    .ft::before, .ft-cta-ring, .ft-live, .ft-clock.is-online .ft-clock-dot { animation: none; }
    .ft-rv { opacity: 1; transform: none; transition: none; }
}
.ft .ft-about, .ft .ft-news p, .ft .ft-bottom p { color: #A3A8C3; }
.ft .ft-cta p { color: rgba(226, 232, 255, .78); }
.ft-clock small { max-width: 230px; color: #A3A8C3; }

/* keep the bottom bar clear of the floating WhatsApp / back-to-top buttons,
   and of Rachy when it sits bottom-left */
@media (min-width: 761px) {
    .ft-bottom { padding-right: 96px; }
    body:has(.rachy--left:not([hidden])) .ft-bottom { padding-left: 110px; }
}

/* Social icons in each network's own colours (footer, mobile menu, contact page). The class comes from core/social.py */
.sb { --sb: #334155; --sb-bg: var(--sb); }
.sb-linkedin { --sb: #0A66C2; }
.sb-facebook { --sb: #1877F2; }
.sb-x { --sb: #000; }
.sb-youtube { --sb: #FF0000; }
.sb-whatsapp { --sb: #25D366; }
.sb-threads { --sb: #000; }
.sb-github { --sb: #181717; }
.sb-behance { --sb: #1769FF; }
.sb-dribbble { --sb: #EA4C89; }
.sb-pinterest { --sb: #E60023; }
.sb-telegram { --sb: #26A5E4; }
.sb-instagram { --sb: #E1306C; --sb-bg: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.ft-social a.sb, .drawer-contact .drawer-social a.sb { background: var(--sb-bg); border-color: transparent; color: #fff; }
.ft-social a.sb i, .drawer-contact .drawer-social a.sb i, .rc-social.sb i { color: #fff; }
.ft-social a.sb-x, .ft-social a.sb-threads { border-color: rgba(255, 255, 255, .22); }
.ft-social a.sb:hover, .drawer-contact .drawer-social a.sb:hover { background: var(--sb-bg); border-color: transparent; color: #fff; filter: brightness(1.1); box-shadow: 0 10px 24px -10px var(--sb); }
.rc-social.sb { background: var(--sb-bg); border-color: transparent; }
.rc-social.sb:hover { background: var(--sb-bg); border-color: transparent; filter: brightness(1.1); box-shadow: 0 10px 24px -10px var(--sb); }
.rc-social.sb-x { border-color: rgba(255, 255, 255, .22); }
/* Footer links: hover underline only under the text (long names like "Maintenance & Support" wrap neatly, no stretched line) */
.ft-col a { display: inline; line-height: 1.5; background-image: linear-gradient(90deg, #A78BFA, #F472B6); background-repeat: no-repeat;
            background-size: 0 1px; background-position: 0 100%; padding-bottom: 2px; transition: color .3s, background-size .45s var(--ft-ease); }
.ft-col a::after { display: none; }
.ft-col a:hover { transform: none; background-size: 100% 1px; }
.ft-col a.ft-all, .ft-col a:has(> i) { display: inline-flex; background-image: none; }
.ft-col a:has(> i):hover { transform: translateX(4px); }
