/* =============================================================
   CRAITRIX FOOTER v2 — sticky shutter (closing logo) + white bottom
   Blue accent confined to the address cards only.
   Class prefix: cfx-
   ============================================================= */

.cfx-footer-container {
    position: relative;
    width: 100%;
}

.cfx-footer {
    border-radius: 40px 40px 0 0;
    /* Gradient border (blue → cyan → blue) — drawn via padding-box / border-box layers */
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(110deg, #0D47A1 0%, #22d3ee 50%, #0072FF 100%) border-box;
    border: 3px solid transparent;
    border-bottom: 0;
}

/* ------------------- TOP — sticky brand CTA (the "closing logo") ------------------- */
.cfx-footer-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 56px 24px 48px;

    /* The shutter — top sticks while bottom slides over */
    position: sticky;
    top: 0;
    z-index: 0;
}

/* Opt-out — page sets <body class="cfx-no-shutter"> to drop the closing-logo cycle entirely */
.cfx-no-shutter .cfx-footer-top {
    display: none;
}
.cfx-no-shutter .cfx-footer-bottom {
    box-shadow: none;
    border-radius: 40px 40px 0 0;
}
.cfx-no-shutter .cfx-footer {
    border-radius: 40px 40px 0 0;
    overflow: hidden;
}

.cfx-logo {
    width: 170px;
}

.cfx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    padding: 6px 14px 6px 12px;
    border: 1px solid rgba(0, 114, 255, 0.28);
    border-radius: 999px;
    background: rgba(0, 114, 255, 0.06);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #0D47A1;
}
.cfx-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0072FF;
    box-shadow: 0 0 10px rgba(0, 114, 255, 0.55);
}

.cfx-header {
    margin: 6px 0 0;
    font-weight: 700;
    color: #0072FF;
    letter-spacing: -0.01em;
}

.cfx-subheading {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.02em;
    max-width: 620px;
    color: #0d1626;
}

.cfx-description {
    margin: 0;
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.7;
    max-width: 540px;
}

.cfx-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding: 12px 26px;
    border-radius: 12px;
    border: none;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    background: linear-gradient(to right, #0D47A1, #0072FF);
    cursor: pointer;
    box-shadow: 0 8px 22px -10px rgba(0, 114, 255, 0.55);
    transition: transform 0.25s ease, box-shadow 0.3s ease, color 0.2s ease;
}
.cfx-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -10px rgba(0, 114, 255, 0.65);
}
.cfx-btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s cubic-bezier(.2,.7,.2,1);
}
.cfx-btn:hover .cfx-btn-arrow {
    transform: translateX(4px);
}

/* ------------------- BOTTOM — soft white gradient (slides over the shutter) ------------------- */
.cfx-footer-bottom {
    position: relative;
    z-index: 1;
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(34, 211, 238, 0.10) 0%, rgba(34, 211, 238, 0) 60%),
        linear-gradient(180deg, #f4f8fe 0%, #e6eef9 60%, #dce7f6 100%);
    border-radius: 22px 22px 0 0;
    padding: 56px clamp(22px, 5vw, 60px) 32px;
    color: #0d1626;
    overflow: hidden;
    box-shadow: 0 -18px 40px -22px rgba(11, 47, 96, 0.20);
}

/* Soft glow blobs — subtle brand tints */
.cfx-bb-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.cfx-bb-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.35;
}
.cfx-bb-blob--a {
    top: -140px;
    right: -100px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.4) 0%, rgba(34, 211, 238, 0) 70%);
}
.cfx-bb-blob--b {
    bottom: -140px;
    left: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(0, 114, 255, 0.30) 0%, rgba(0, 114, 255, 0) 70%);
}

.cfx-bb-inner {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 44px;
}

/* ---- 1 · Brand strip (light card) ---- */
.cfx-bb-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 22px 26px;
    border: 1px solid rgba(0, 114, 255, 0.16);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    box-shadow: 0 6px 18px -10px rgba(11, 47, 96, 0.15);
}
.cfx-bb-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.cfx-bb-logo {
    width: 56px;
    height: auto;
    opacity: 1;
}
.cfx-bb-brandtxt {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.cfx-bb-brandname {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #0D47A1;
}
.cfx-bb-brandtag {
    margin-top: 2px;
    font-size: 0.92rem;
    color: rgba(13, 22, 38, 0.7);
    letter-spacing: 0.01em;
}
.cfx-bb-touch {
    display: flex;
    align-items: center;
    gap: 14px;
}
.cfx-bb-touch-lbl {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(13, 22, 38, 0.65);
    margin-right: 4px;
}
.cfx-bb-touch-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(0, 114, 255, 0.18);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.cfx-bb-touch-ic img {
    width: 26px;
    height: 26px;
    display: block;
}
.cfx-bb-touch-ic--mail svg {
    width: 24px;
    height: 24px;
    display: block;
    color: #0072FF;
    transition: color 0.25s ease;
}
.cfx-bb-touch-ic--mail:hover svg {
    color: #0D47A1;
}
.cfx-bb-touch-ic:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 114, 255, 0.45);
    box-shadow: 0 8px 18px -8px rgba(0, 114, 255, 0.30);
}

/* ---- thin rule ---- */
.cfx-bb-rule {
    display: block;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(0, 114, 255, 0) 0%,
        rgba(0, 114, 255, 0.30) 50%,
        rgba(0, 114, 255, 0) 100%);
}

/* ---- 2 · Links — 3 columns ---- */
.cfx-bb-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 50px);
}
.cfx-bb-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cfx-bb-col h3 {
    position: relative;
    margin: 0 0 14px;
    padding-bottom: 10px;
    color: #0d1626;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.cfx-bb-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, #06b6d4, rgba(0, 114, 255, 0));
    border-radius: 2px;
}
.cfx-bb-col a {
    display: inline-block;
    width: fit-content;
    padding: 6px 0;
    color: rgba(13, 22, 38, 0.78);
    text-decoration: none;
    font-size: 0.96rem;
    line-height: 1.4;
    transition: color 0.25s ease, transform 0.25s ease, padding 0.25s ease;
}
.cfx-bb-col a::before {
    content: "›";
    display: inline-block;
    margin-right: 8px;
    color: #06b6d4;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.cfx-bb-col a:hover {
    color: #0D47A1;
    transform: translateX(2px);
}
.cfx-bb-col a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ---- 3 · Address row — BLUE feature cards ---- */
.cfx-bb-addr-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 2.4vw, 32px);
}
.cfx-bb-addr {
    position: relative;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 22px;
    padding: 18px;
    border: 1px solid rgba(0, 114, 255, 0.40);
    border-radius: 18px;
    background:
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(34, 211, 238, 0.25) 0%, rgba(34, 211, 238, 0) 60%),
        linear-gradient(135deg, #0a3a87 0%, #0D47A1 50%, #0072FF 100%);
    color: #ffffff;
    box-shadow: 0 14px 30px -14px rgba(11, 47, 96, 0.40);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.cfx-bb-addr:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.60);
    box-shadow: 0 22px 40px -16px rgba(11, 47, 96, 0.50);
}
.cfx-bb-addr-img {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.22);
}
.cfx-bb-addr-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.cfx-bb-addr:hover .cfx-bb-addr-img img {
    transform: scale(1.05);
}
.cfx-bb-addr-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 4px 0;
    min-width: 0;
}
.cfx-bb-addr-pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.18);
    border: 1px solid rgba(34, 211, 238, 0.50);
    color: #22d3ee;
    font-size: 0.85rem;
    margin-bottom: 2px;
}
.cfx-bb-addr h3 {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}
.cfx-bb-addr p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    font-size: 0.94rem;
}

/* ---- 4 · CTA row — newsletter + social (light cards) ---- */
.cfx-bb-cta {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
    align-items: stretch;
}
/* ---- Newsletter — left accent bar + subtle blueprint grid ---- */
.cfx-bb-news {
    position: relative;
    padding: 30px 28px 30px 40px;
    border: 1px solid rgba(0, 114, 255, 0.22);
    border-radius: 18px;
    overflow: hidden;
    background:
        linear-gradient(rgba(0, 114, 255, 0.04) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(90deg, rgba(0, 114, 255, 0.04) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(165deg, #ffffff 0%, #f1f7ff 100%);
    box-shadow: 0 10px 30px -16px rgba(11, 47, 96, 0.22);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.cfx-bb-news::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 16px;
    width: 5px;
    border-radius: 5px;
    background: linear-gradient(180deg, #0D47A1 0%, #0072FF 50%, #22d3ee 100%);
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.40);
}
.cfx-bb-news::after {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.18) 0%, rgba(34, 211, 238, 0) 70%);
    pointer-events: none;
}
.cfx-bb-news:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 114, 255, 0.40);
    box-shadow: 0 16px 36px -16px rgba(11, 47, 96, 0.30);
}

/* ---- Follow — circular icon tiles with gradient ring ---- */
.cfx-bb-follow {
    position: relative;
    padding: 30px 28px;
    border: 1px solid rgba(0, 114, 255, 0.22);
    border-radius: 18px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 90% 70% at 50% 110%, rgba(34, 211, 238, 0.18) 0%, rgba(34, 211, 238, 0) 60%),
        linear-gradient(165deg, #ffffff 0%, #f4fbfd 100%);
    box-shadow: 0 10px 30px -16px rgba(11, 47, 96, 0.22);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.cfx-bb-follow::before {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 114, 255, 0.14) 0%, rgba(0, 114, 255, 0) 70%);
    pointer-events: none;
}
.cfx-bb-follow:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 16px 36px -16px rgba(11, 47, 96, 0.30);
}
.cfx-bb-news h3,
.cfx-bb-follow .cfx-bb-follow-lbl {
    margin: 0;
    color: #0d1626;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.cfx-bb-news-sub {
    margin: 8px 0 18px;
    color: rgba(13, 22, 38, 0.7);
    font-size: 0.94rem;
    line-height: 1.55;
}
.cfx-bb-news-form {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(0, 114, 255, 0.22);
    padding: 6px 6px 6px 18px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.cfx-bb-news-form:focus-within {
    border-color: rgba(6, 182, 212, 0.60);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}
.cfx-bb-news-form input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0d1626;
    font-size: 0.96rem;
    padding: 10px 0;
}
.cfx-bb-news-form input::placeholder {
    color: rgba(13, 22, 38, 0.55);
}
.cfx-bb-news-form button {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #06b6d4, #0072FF);
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 14px -6px rgba(0, 114, 255, 0.55);
}
.cfx-bb-news-form button:hover {
    transform: translateX(2px) scale(1.04);
    box-shadow: 0 10px 18px -6px rgba(0, 114, 255, 0.7);
}
.cfx-bb-news-form button svg {
    width: 18px;
    height: 18px;
    display: block;
}
.cfx-bb-news-form button.is-busy {
    opacity: 0.7;
    pointer-events: none;
    transform: none;
}
.cfx-bb-news-status {
    margin: 14px 0 0;
    font-size: 0.9rem;
    line-height: 1.5;
    min-height: 1.35em;
    color: rgba(13, 22, 38, 0.7);
    transition: color 0.25s ease;
}
.cfx-bb-news-status.is-ok {
    color: #047857;
    font-weight: 600;
}
.cfx-bb-news-status.is-err {
    color: #b91c1c;
    font-weight: 600;
}

.cfx-bb-follow-lbl {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.82rem !important;
    color: rgba(13, 22, 38, 0.65) !important;
    font-weight: 700 !important;
}
.cfx-bb-follow-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    z-index: 1;
}
.cfx-bb-follow-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, #0072FF 0%, #22d3ee 100%) border-box;
    border: 2px solid transparent;
    box-shadow: 0 6px 14px -8px rgba(0, 114, 255, 0.30);
    transition: transform 0.3s cubic-bezier(.2,.7,.2,1), box-shadow 0.3s ease, background 0.3s ease;
}
.cfx-bb-follow-row img,
.cfx-bb-follow-row svg {
    width: 26px;
    height: 26px;
    display: block;
}
.cfx-bb-follow-row a:hover {
    transform: translateY(-4px) scale(1.06);
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, #0D47A1 0%, #22d3ee 50%, #0072FF 100%) border-box;
    box-shadow: 0 14px 24px -8px rgba(0, 114, 255, 0.45);
}

/* ---- 5 · Legal bar ---- */
.cfx-bb-legal {
    margin-top: 4px;
    padding-top: 22px;
    border-top: 1px solid rgba(0, 114, 255, 0.20);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: rgba(13, 22, 38, 0.72);
}
.cfx-bb-legal-copy {
    margin: 0;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
}
.cfx-bb-legal-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}
.cfx-bb-legal-links a {
    color: rgba(13, 22, 38, 0.72);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}
.cfx-bb-legal-links a:hover {
    color: #0D47A1;
}
.cfx-bb-legal-links li + li {
    position: relative;
}
.cfx-bb-legal-links li + li::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 50%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(13, 22, 38, 0.40);
    transform: translateY(-50%);
}

/* ------------------- Responsive ------------------- */
@media (max-width: 1000px) {
    .cfx-bb-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cfx-bb-addr-row {
        grid-template-columns: 1fr;
    }
    .cfx-bb-cta {
        grid-template-columns: 1fr;
    }
    .cfx-footer-bottom {
        padding: 48px 28px 28px;
    }
}

@media (max-width: 700px) {
    .cfx-bb-strip {
        padding: 18px 18px;
    }
    .cfx-bb-brandtag {
        display: none;
    }
    .cfx-bb-touch-lbl {
        display: none;
    }
    .cfx-bb-addr {
        grid-template-columns: 1fr;
        padding: 14px;
    }
    .cfx-bb-addr-img {
        aspect-ratio: 16 / 9;
    }
    .cfx-bb-news,
    .cfx-bb-follow {
        padding: 22px;
    }
    .cfx-subheading {
        font-size: 1.85rem;
    }
}

@media (max-width: 540px) {
    .cfx-bb-links {
        grid-template-columns: 1fr;
    }
    .cfx-bb-legal {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .cfx-bb-legal-links {
        gap: 18px;
    }
    .cfx-footer-top {
        padding: 44px 18px 36px;
    }
    .cfx-footer-bottom {
        padding: 40px 18px 24px;
        border-radius: 18px 18px 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cfx-btn,
    .cfx-bb-touch-ic,
    .cfx-bb-addr,
    .cfx-bb-addr-img img,
    .cfx-bb-news-form button,
    .cfx-bb-follow-row a,
    .cfx-bb-col a,
    .cfx-bb-col a::before,
    .cfx-btn-arrow {
        transition: none;
    }
}
