/* ==========================================================================
   Career Fixx — public site footer (.cfx-foot)
   Deep night background with grid + glows (same language as the home hero);
   it stays dark in both the light and the dark site theme. Compact spacing.
   ========================================================================== */

.cfx-foot {
    --f-ink: #ffffff;
    --f-text: rgba(226, 220, 248, .74);
    --f-muted: rgba(226, 220, 248, .55);
    --f-line: rgba(255, 255, 255, .09);
    --f-glass: rgba(255, 255, 255, .05);
    --f-grad: linear-gradient(100deg, #b46cff 0%, #a855f7 50%, #c4b5fd 100%);
    --f-btn: linear-gradient(135deg, #9b3cf6 0%, #7c3aed 45%, #5b21b6 100%);
    position: relative; isolation: isolate; overflow: hidden;
    padding: 44px 0 0; background: #0c0820; color: var(--f-text);
}
.cfx-foot-bg {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(560px 320px at 6% 0%, rgba(155, 60, 246, .32), transparent 60%),
        radial-gradient(520px 320px at 100% 100%, rgba(91, 33, 182, .18), transparent 60%),
        radial-gradient(440px 260px at 60% 45%, rgba(168, 85, 247, .10), transparent 60%);
}
.cfx-foot-bg::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%); mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}
.cfx-foot a { text-decoration: none; transition: color .2s ease; }

/* ── CTA strip: one slim row ────────────────────────────────────────── */
.cfx-foot-cta {
    position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap;
    padding: 20px 26px; margin-bottom: 36px; border-radius: 22px;
    background: linear-gradient(120deg, rgba(155, 60, 246, .38) 0%, rgba(124, 58, 237, .28) 55%, rgba(91, 33, 182, .26) 100%);
    border: 1px solid rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 24px 50px -24px rgba(0, 0, 0, .6);
}
.cfx-foot-cta::after { content: ""; position: absolute; right: -70px; top: -110px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255, 255, 255, .07); pointer-events: none; }
.cfx-foot-cta-text { position: relative; z-index: 1; flex: 1 1 380px; min-width: 0; display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.cfx-foot-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #f3e8ff;
    font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
}
.cfx-foot-cta h3 { margin: 0; color: var(--f-ink); font-size: 24px; font-weight: 800; line-height: 1.25; letter-spacing: -.4px; }
.cfx-foot-cta h3 span { background: var(--f-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cfx-foot-cta p { flex-basis: 100%; margin: 0; color: var(--f-text); font-size: 14.5px; }
.cfx-foot-cta-actions { position: relative; z-index: 1; display: flex; gap: 10px; flex-wrap: wrap; }
.cfx-foot-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); color: #fff !important;
    font-size: 14.5px; font-weight: 700; white-space: nowrap; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.cfx-foot-btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .12); }
.cfx-foot-btn.is-primary { border: 0; background: var(--f-btn); box-shadow: 0 12px 26px -8px rgba(124, 58, 237, .7); }
.cfx-foot-btn.is-primary:hover { box-shadow: 0 16px 32px -8px rgba(124, 58, 237, .85); }

/* ── Columns ────────────────────────────────────────────────────────── */
.cfx-foot-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .95fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: 28px 36px; padding-bottom: 30px; }
.cfx-foot-logo { display: inline-block; margin-bottom: 12px; }
.cfx-foot-logo img { max-height: 40px; width: auto; filter: drop-shadow(0 6px 18px rgba(180, 108, 255, .35)); }
.cfx-foot-brand p { margin: 0 0 16px; max-width: 340px; color: var(--f-text); font-size: 14.5px; line-height: 1.65; }
.cfx-foot-brand-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cfx-foot-social { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cfx-foot-social li { margin: 0; padding: 0; }
.cfx-foot-social a {
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
    background: var(--f-glass); border: 1px solid var(--f-line); color: #e9e3ff !important; font-size: 16px;
    transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.cfx-foot-social a:hover { transform: translateY(-3px); background: var(--f-btn); border-color: transparent; box-shadow: 0 10px 22px -6px rgba(124, 58, 237, .7); }
.cfx-foot-contact-btn {
    display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 999px;
    border: 1px solid transparent; color: #fff !important; font-size: 13.5px; font-weight: 700; white-space: nowrap;
    background: linear-gradient(#0c0820, #0c0820) padding-box, var(--f-grad) border-box;
    transition: box-shadow .25s ease, transform .25s ease;
}
.cfx-foot-contact-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -8px rgba(168, 85, 247, .6); }

.cfx-foot-col h5 { position: relative; margin: 4px 0 14px; padding-bottom: 10px; color: var(--f-ink); font-size: 15px; font-weight: 800; letter-spacing: .3px; }
.cfx-foot-col h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; border-radius: 3px; background: var(--f-grad); }
.cfx-foot-links { margin: 0; padding: 0; list-style: none; }
.cfx-foot-links li { margin: 0 0 8px; padding: 0; line-height: 1.4; }
.cfx-foot-links a { position: relative; display: inline-flex; align-items: center; color: var(--f-text) !important; font-size: 14.5px; }
.cfx-foot-links a::before {
    content: ""; width: 0; height: 2px; margin-right: 0; border-radius: 2px; background: var(--f-grad);
    transition: width .25s ease, margin-right .25s ease;
}
.cfx-foot-links a:hover { color: #fff !important; }
.cfx-foot-links a:hover::before { width: 10px; margin-right: 7px; }

/* contact: one glass card, rows split by thin lines */
.cfx-foot-contact {
    margin: 0; padding: 4px 14px; list-style: none; border-radius: 16px;
    background: var(--f-glass); border: 1px solid var(--f-line);
}
.cfx-foot-contact li { display: flex; align-items: flex-start; gap: 11px; margin: 0; padding: 10px 0; color: var(--f-ink); font-size: 13.5px; line-height: 1.5; }
.cfx-foot-contact li + li { border-top: 1px solid var(--f-line); }
.cfx-foot-ico {
    display: grid; place-items: center; flex: 0 0 32px; height: 32px; border-radius: 10px;
    background: linear-gradient(135deg, rgba(180, 108, 255, .25), rgba(196, 181, 253, .22)); color: #f5d0fe; font-size: 14px;
}
.cfx-foot-contact li > span:last-child { min-width: 0; word-break: break-word; }
.cfx-foot-contact small { display: block; color: var(--f-muted); font-size: 10.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.cfx-foot-contact a { color: var(--f-ink) !important; }
.cfx-foot-contact a:hover { color: #d8b4fe !important; }

/* ── Bottom bar ─────────────────────────────────────────────────────── */
.cfx-foot-bottom {
    display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap;
    padding: 14px 0 16px; border-top: 1px solid var(--f-line);
}
.cfx-foot-bottom p { margin: 0; color: var(--f-muted); font-size: 13.5px; }
.cfx-foot-top {
    display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px;
    background: var(--f-glass); border: 1px solid var(--f-line); color: var(--f-text) !important; font-size: 13px; font-weight: 600;
}
.cfx-foot-top:hover { color: #fff !important; border-color: rgba(196, 181, 253, .45); }
/* the fixed Light/Dark switch sits bottom-left: start the copyright after it while the container hugs the left edge */
@media (min-width: 768px) and (max-width: 1599.98px) { .cfx-foot-bottom { padding-left: 190px; } }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1199.98px) {
    .cfx-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 30px; }
}
@media (max-width: 767.98px) {
    .cfx-foot { padding-top: 32px; }
    .cfx-foot-cta { padding: 18px; margin-bottom: 28px; border-radius: 18px; }
    .cfx-foot-cta h3 { font-size: 20px; }
    .cfx-foot-cta-actions { width: 100%; }
    .cfx-foot-btn { flex: 1 1 0; height: 44px; padding: 0 12px; font-size: 13.5px; }
    .cfx-foot-grid { gap: 24px 18px; padding-bottom: 24px; }
    .cfx-foot-brand, .cfx-foot-col:last-child { grid-column: 1 / -1; }
    .cfx-foot-bottom { flex-direction: column; text-align: center; padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
    .cfx-foot-btn, .cfx-foot-social a, .cfx-foot-contact-btn, .cfx-foot-links a::before { transition: none; }
}

/* tagline under the footer logo */
.cfx-foot-logo { display: inline-flex; flex-direction: column; align-items: center; }
.cfx-foot-logo .cfx-logo-tag { display: block; margin-top: 6px; font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: 2px; white-space: nowrap; }
