/* ================================
   FOOTER — EDITORIAL GRID
   ================================ */

.ft {
    position: relative;
    z-index: 30;
    background: #eceef4;
    color: #002bff;
    font-family: 'Inter', sans-serif;
}

/* ---- EMAIL CAPTURE ---- */
.ft-capture {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 56px 56px;
    border-bottom: 1px solid rgba(0, 43, 255, 0.1);
}

.ft-capture-title {
    font-size: 28px;
    font-weight: 900;
    color: #002bff;
    letter-spacing: -0.03em;
    margin: 0 0 6px;
    line-height: 1.2;
}

.ft-capture-desc {
    font-size: 13px;
    font-weight: 500;
    color: rgba(0, 43, 255, 0.4);
    margin: 0;
    line-height: 1.5;
}

.ft-capture-form {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.ft-input {
    padding: 14px 20px;
    border-radius: 10px;
    border: 1px solid rgba(0, 43, 255, 0.15);
    background: rgba(0, 43, 255, 0.03);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #002bff;
    width: 180px;
    outline: none;
    transition: all 0.2s ease;
}

.ft-input::placeholder { color: rgba(0, 43, 255, 0.25); }
.ft-input:focus { border-color: #002bff; background: rgba(0, 43, 255, 0.06); }

.ft-capture-btn {
    padding: 14px 28px;
    border-radius: 10px;
    border: none;
    background: #002bff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ft-capture-btn:hover { background: #0024d4; transform: translateY(-1px); }

/* ---- GRID ---- */
.ft-grid-wrap {
    padding: 0 56px;
}

.ft-row {
    display: grid;
    border-bottom: 1px solid rgba(0, 43, 255, 0.1);
}

.ft-row-7 {
    grid-template-columns: repeat(7, 1fr);
}

.ft-cell {
    display: flex;
    flex-direction: column;
    padding: 28px 20px 28px 0;
    border-right: 1px solid rgba(0, 43, 255, 0.06);
}

.ft-cell:last-child { border-right: none; }

.ft-cell-title {
    font-size: 13px;
    font-weight: 800;
    color: #002bff;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ft-red { color: #e03030; }

.ft-cell-sub {
    font-size: 10px;
    font-weight: 500;
    color: rgba(0, 43, 255, 0.3);
    margin-bottom: 14px;
    line-height: 1.4;
}

.ft-cell-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 500;
    color: rgba(0, 43, 255, 0.5);
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 1px dotted rgba(0, 43, 255, 0.1);
    transition: all 0.15s ease;
}

.ft-cell-link:last-of-type { border-bottom: none; }

.ft-cell-link span {
    font-size: 11px;
    opacity: 0.3;
    transition: opacity 0.15s ease;
}

.ft-cell-link:hover { color: #002bff; }
.ft-cell-link:hover span { opacity: 1; }

/* Crisis */
.ft-crisis {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #e03030;
    text-decoration: none;
    margin-top: 10px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(224, 48, 48, 0.2);
    background: rgba(224, 48, 48, 0.04);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ft-crisis:hover { background: rgba(224, 48, 48, 0.1); }

/* ---- SOCIAL + CTA BAR ---- */
.ft-bar {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid rgba(0, 43, 255, 0.1);
}

.ft-bar-left {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 32px 0;
}

.ft-bar-cta {
    font-size: 14px;
    font-weight: 800;
    color: #002bff;
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 16px 40px;
    border: 2px solid #002bff;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.ft-bar-cta:hover {
    background: #002bff;
    color: #ffffff;
}

.ft-bar-socials {
    display: flex;
    border-left: 1px solid rgba(0, 43, 255, 0.1);
}

.ft-social-big {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    font-size: 22px;
    font-weight: 800;
    color: #002bff;
    text-decoration: none;
    border-left: 1px solid rgba(0, 43, 255, 0.06);
    transition: all 0.2s ease;
}

.ft-social-big:first-child { border-left: none; }
.ft-social-big:hover { background: rgba(0, 43, 255, 0.06); }

/* ---- GIANT BRAND ---- */
.ft-brand {
    padding: 40px 56px 0;
    overflow: hidden;
}

.ft-brand-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- BOTTOM ---- */
.ft-bottom {
    padding: 20px 56px 32px;
    display: flex;
    justify-content: flex-end;
}

.ft-copy {
    font-size: 11px;
    font-weight: 500;
    color: rgba(0, 43, 255, 0.2);
}

/* ================================
   RESPONSIVE
   ================================ */

/* Small desktop / large tablet */
@media (max-width: 1280px) {
    .ft-row-7 { grid-template-columns: repeat(4, 1fr); }
    .ft-cell:nth-child(4n) { border-right: none; }
    .ft-cell:nth-child(n+5) { border-top: 1px solid rgba(0, 43, 255, 0.06); padding-top: 24px; margin-top: 20px; }
    .ft-capture { padding: 48px 40px; gap: 36px; }
    .ft-grid-wrap { padding: 0 40px; }
    .ft-brand { padding: 36px 40px 0; }
    .ft-bottom { padding: 18px 40px 28px; }
}

/* Tablet */
@media (max-width: 1024px) {
    .ft-row-7 { grid-template-columns: repeat(3, 1fr); }
    .ft-cell { padding: 24px 16px 24px 0; }
    .ft-cell:nth-child(3n) { border-right: none; }
    .ft-cell:nth-child(4n) { border-right: 1px solid rgba(0, 43, 255, 0.06); }
    .ft-cell:nth-child(n+4) { border-top: 1px solid rgba(0, 43, 255, 0.06); padding-top: 20px; margin-top: 16px; }

    .ft-capture {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 40px 32px;
    }
    .ft-capture-left { width: 100%; }
    .ft-capture-title { font-size: 26px; }
    .ft-capture-form { width: 100%; }
    .ft-input { flex: 1; width: auto; min-width: 0; }

    .ft-grid-wrap { padding: 0 32px; }
    .ft-brand { padding: 32px 32px 0; }
    .ft-bottom { padding: 16px 32px 28px; }

    .ft-bar-left { padding: 28px 0; }
    .ft-social-big { width: 64px; height: 64px; }
}

/* Large mobile */
@media (max-width: 768px) {
    /* Capture */
    .ft-capture {
        padding: 32px 20px;
        gap: 20px;
    }
    .ft-capture-title {
        font-size: 22px;
        line-height: 1.2;
    }
    .ft-capture-desc {
        font-size: 12.5px;
        line-height: 1.55;
    }
    .ft-capture-form {
        flex-direction: column;
        gap: 8px;
    }
    .ft-input {
        width: 100%;
        padding: 14px 18px;
        font-size: 14px;
        border-radius: 11px;
    }
    .ft-capture-btn {
        width: 100%;
        padding: 14px 28px;
        font-size: 13px;
        border-radius: 11px;
    }

    /* Grid — 2 columns, reset nth-child rules */
    .ft-row-7 { grid-template-columns: repeat(2, 1fr); }
    .ft-cell {
        padding: 22px 14px 22px 0;
        border-right: 1px solid rgba(0, 43, 255, 0.06);
        border-top: none !important;
        margin-top: 0 !important;
    }
    .ft-cell:nth-child(2n) { border-right: none; }
    .ft-cell:nth-child(3n), .ft-cell:nth-child(4n), .ft-cell:nth-child(n+3) {
        border-top: 1px solid rgba(0, 43, 255, 0.06) !important;
        padding-top: 20px !important;
        margin-top: 14px !important;
    }
    .ft-cell:nth-child(1), .ft-cell:nth-child(2) {
        border-top: none !important;
        padding-top: 22px !important;
        margin-top: 0 !important;
    }

    .ft-cell-title { font-size: 12.5px; }
    .ft-cell-sub { font-size: 10px; margin-bottom: 12px; }
    .ft-cell-link { font-size: 11.5px; padding: 5px 0; }
    .ft-cell-link span { font-size: 10px; }

    .ft-grid-wrap { padding: 0 20px; }

    /* Bar stacks */
    .ft-bar { flex-direction: column; }
    .ft-bar-left {
        padding: 24px 0;
        width: 100%;
    }
    .ft-bar-cta {
        width: 100%;
        text-align: center;
        font-size: 13px;
        padding: 15px 32px;
        border-radius: 11px;
    }
    .ft-bar-socials {
        border-left: none;
        border-top: 1px solid rgba(0, 43, 255, 0.1);
        width: 100%;
    }
    .ft-social-big {
        flex: 1;
        width: auto;
        height: 56px;
        border-left: none;
        border-right: 1px solid rgba(0, 43, 255, 0.06);
    }
    .ft-social-big:last-child { border-right: none; }
    .ft-social-big svg { width: 22px; height: 22px; }

    .ft-brand { padding: 28px 20px 0; }
    .ft-bottom {
        padding: 16px 20px 24px;
        justify-content: center;
    }
    .ft-copy { font-size: 10.5px; text-align: center; }
}

/* Mobile */
@media (max-width: 480px) {
    .ft-capture {
        padding: 28px 16px;
        gap: 18px;
    }
    .ft-capture-title { font-size: 20px; }
    .ft-capture-desc { font-size: 12px; }
    .ft-input { padding: 12px 16px; font-size: 13.5px; }
    .ft-capture-btn { padding: 13px 24px; font-size: 12.5px; }

    .ft-cell { padding: 18px 12px 18px 0; }
    .ft-cell:nth-child(n+3) { padding-top: 18px !important; margin-top: 12px !important; }
    .ft-cell-title { font-size: 12px; }
    .ft-cell-sub { font-size: 9.5px; margin-bottom: 10px; }
    .ft-cell-link { font-size: 11px; padding: 4px 0; }
    .ft-cell-link span { font-size: 9.5px; }
    .ft-crisis { font-size: 9.5px; padding: 7px 12px; }

    .ft-grid-wrap { padding: 0 16px; }

    .ft-bar-left { padding: 20px 0; }
    .ft-bar-cta {
        font-size: 12px;
        padding: 13px 24px;
        letter-spacing: 0.06em;
    }
    .ft-social-big {
        height: 50px;
    }
    .ft-social-big svg { width: 20px; height: 20px; }

    .ft-brand { padding: 24px 16px 0; }
    .ft-bottom { padding: 14px 16px 22px; }
    .ft-copy { font-size: 10px; }
}

/* Small mobile */
@media (max-width: 380px) {
    .ft-capture { padding: 24px 14px; }
    .ft-capture-title { font-size: 18px; }
    .ft-capture-desc { font-size: 11.5px; }
    .ft-input { padding: 11px 14px; font-size: 13px; }
    .ft-capture-btn { padding: 12px 22px; font-size: 12px; }

    /* Single column grid on tiny screens */
    .ft-row-7 { grid-template-columns: 1fr; }
    .ft-cell {
        padding: 16px 0 16px 0 !important;
        border-right: none !important;
        border-top: 1px solid rgba(0, 43, 255, 0.06) !important;
        margin-top: 0 !important;
    }
    .ft-cell:first-child { border-top: none !important; }

    .ft-grid-wrap { padding: 0 14px; }
    .ft-bar-cta { font-size: 11.5px; padding: 12px 20px; }
    .ft-social-big { height: 46px; }
    .ft-social-big svg { width: 18px; height: 18px; }
    .ft-brand { padding: 20px 14px 0; }
    .ft-bottom { padding: 12px 14px 20px; }
}