.wb-footer {
    --wb-navy: {
            {
            env('HEADER_COLOR', '#0c2e8a')
        }
    }

    ;
    --wb-mint: #50d8af;
    background: #fff;
    margin-top: 10px;
    padding: 32px 0 14px;
    color: #222;
    font-size: 13px;
    box-shadow: 0 -6px 24px rgba(12, 46, 138, 0.10);
    position: relative;
    z-index: 2;
}

/* Brand */
.wb-footer .brand-logo {
    display: inline-block;
    margin-top: 4px;
    text-align: left;
    white-space: nowrap;
    font-family: "Montserrat", sans-serif;
    line-height: 1;
    text-decoration: none;
}

.wb-footer .brand-logo .name {
    display: inline-block;
    font-size: 42px;
    font-weight: 700;
    color: #0c2e8a;
    line-height: 1;
}

.wb-footer .brand-logo .name span {
    display: inline;
    color: #50d8af;
    font-weight: 700;
}

.wb-footer .brand-tagline {
    display: block;
    float: none;
    text-align: right;
    font-size: 12px;
    font-weight: 700;
    color: #0c2e8a;
}

.wb-footer .footer-text {
    margin: 10px 0 14px;
    max-width: 260px;
    color: #444;
    line-height: 1.5;
}

/* Social icons */
.wb-footer .social-icons {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wb-footer .social-icons a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--wb-navy);
    color: var(--wb-navy);
    font-size: 13px;
    text-decoration: none;
    transition: all .25s ease;
}

.wb-footer .social-icons a:hover {
    background: var(--wb-mint);
    border-color: var(--wb-mint);
    color: #fff;
    transform: translateY(-2px);
}

/* Headings */
.wb-footer .title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--wb-navy);
    margin: 0 0 14px;
}

/* Categories */
.wb-footer .category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 24px;
}

.wb-footer .category-list li {
    position: relative;
    padding-left: 14px;
}

.wb-footer .category-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--wb-mint);
    font-weight: 700;
}

.wb-footer .category-list a {
    color: #222;
    text-decoration: none;
    transition: color .25s ease;
}

.wb-footer .category-list a:hover {
    color: var(--wb-navy);
}

/* Subscribe */
.wb-footer .subscribe-note {
    font-size: 12px;
    color: #555;
    margin: -6px 0 10px;
}

.wb-footer .subscribe-form {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 360px;
    height: 42px;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    overflow: hidden;
}

.wb-footer .subscribe-form:focus-within {
    border-color: var(--wb-navy);
    box-shadow: 0 0 0 3px rgba(12, 46, 138, .10);
}

.wb-footer .input-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    margin: 0;
}

.wb-footer .input-wrap i {
    color: #888;
    font-size: 18px;
}

.wb-footer .email-input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 13px;
    color: #333;
}

.wb-footer .submit-btn {
    border: 0;
    padding: 0 22px;
    background: var(--wb-navy);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
    transition: background .25s ease;
}

.wb-footer .submit-btn:hover {
    background: var(--wb-mint);
}

.wb-footer .form-msg {
    font-size: 12px;
    margin-top: 6px;
}

.wb-footer .form-msg.ok {
    color: #198754;
}

.wb-footer .form-msg.err {
    color: #dc3545;
}

/* Bottom bar */
.wb-footer .footer-bottom {
    border-top: 1px solid #e5e5e5;
    margin-top: 24px;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
}

.wb-footer .footer-bottom p {
    margin: 0;
    color: #222;
}

.wb-footer .footer-bottom a {
    color: var(--wb-navy);
    font-weight: 700;
    text-decoration: none;
}

.wb-footer .footer-bottom a:hover {
    color: var(--wb-mint);
}

/* ---------- Responsive ---------- */

/* Tablet landscape / small laptop */
@media (max-width: 1199px) {
    .wb-footer .category-list {
        gap: 8px 16px;
    }
}

/* Tablet portrait */
@media (max-width: 991px) {
    .wb-footer {
        margin-top: 10px;
        padding: 28px 0 14px;
    }

    .wb-footer .brand-logo .name {
        font-size: 38px;
    }

    .wb-footer .footer-text {
        max-width: 340px;
    }

    .wb-footer .subscribe-form {
        max-width: 420px;
    }
}

/* Large phones */
@media (max-width: 767px) {
    .wb-footer {
        padding: 24px 0 12px;
    }

    .wb-footer .brand-logo .name { font-size: 32px; }
    .wb-footer .brand-tagline { font-size: 11px; }

    .wb-footer .footer-text {
        max-width: 100%;
    }

    /* easier tap targets */
    .wb-footer .social-icons {
        gap: 12px;
    }

    .wb-footer .social-icons a {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .wb-footer .category-list a {
        display: inline-block;
        padding: 2px 0;
    }

    .wb-footer .subscribe-form {
        max-width: 100%;
    }

    .wb-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
        margin-top: 20px;
    }
}

/* Small phones: stack the form, one category column */
@media (max-width: 480px) {
    .wb-footer .category-list {
        grid-template-columns: 1fr;
    }

    .wb-footer .subscribe-form {
        flex-direction: column;
        height: auto;
        border: 0;
        gap: 8px;
        overflow: visible;
    }

    .wb-footer .input-wrap {
        height: 44px;
        border: 1px solid #dcdcdc;
        border-radius: 4px;
    }

    .wb-footer .input-wrap:focus-within {
        border-color: var(--wb-navy);
        box-shadow: 0 0 0 3px rgba(12, 46, 138, .10);
    }

    .wb-footer .subscribe-form:focus-within {
        border: 0;
        box-shadow: none;
    }

    .wb-footer .submit-btn {
        height: 44px;
        border-radius: 4px;
        width: 100%;
    }

}