/* =============================================
   CP4U Custom Footer
   ============================================= */

.cp4u-footer {
    background: #0d1f12;
    color: #d1fae5;
    font-family: inherit;
    margin-top: 0;
}

/* ---- Top band ---- */
.cp4u-footer-top {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 48px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px 48px;
}

/* Brand column */
.cp4u-footer-brand .cp4u-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    text-decoration: none;
}

.cp4u-footer-brand .cp4u-footer-logo img {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
}

.cp4u-footer-brand .cp4u-footer-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.cp4u-footer-brand .cp4u-footer-logo-text span {
    color: #00b843;
}

.cp4u-footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    color: #6ee7b7;
    margin: 0 0 22px;
    max-width: 280px;
}

/* Social icons */
.cp4u-footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cp4u-footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.07);
    color: #d1fae5;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    font-size: 16px;
    line-height: 1;
}

.cp4u-footer-social-link:hover {
    background: #00b843;
    color: #fff;
    transform: translateY(-2px);
}

/* Column headings */
.cp4u-footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00b843;
    display: inline-block;
}

/* Links */
.cp4u-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cp4u-footer-links li a {
    font-size: 14px;
    color: #6ee7b7;
    text-decoration: none;
    transition: color 0.15s, padding-left 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cp4u-footer-links li a::before {
    content: '›';
    color: #00b843;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.cp4u-footer-links li a:hover {
    color: #fff;
    padding-left: 4px;
}

/* Contact info */
.cp4u-footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cp4u-footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #6ee7b7;
    line-height: 1.5;
}

.cp4u-footer-contact-list li .cp4u-fc-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #00b843;
    margin-top: 1px;
}

.cp4u-footer-contact-list li a {
    color: #6ee7b7;
    text-decoration: none;
    transition: color 0.15s;
}

.cp4u-footer-contact-list li a:hover {
    color: #fff;
}

/* ---- Trust badges row ---- */
.cp4u-footer-badges {
    background: #0a1a0e;
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.cp4u-footer-badges-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cp4u-footer-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #d1fae5;
    white-space: nowrap;
}

.cp4u-footer-badge-item svg {
    color: #00b843;
    flex-shrink: 0;
}

.cp4u-footer-badge-sep {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.12);
}

/* ---- Bottom bar ---- */
.cp4u-footer-bottom {
    background: #060f08;
}

.cp4u-footer-bottom-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cp4u-footer-copy {
    font-size: 13px;
    color: #4b7a5c;
    margin: 0;
}

.cp4u-footer-copy a {
    color: #00b843;
    text-decoration: none;
}

.cp4u-footer-copy a:hover {
    text-decoration: underline;
}

.cp4u-footer-legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cp4u-footer-legal-links a {
    font-size: 13px;
    color: #4b7a5c;
    text-decoration: none;
    transition: color 0.15s;
}

.cp4u-footer-legal-links a:hover {
    color: #00b843;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    .cp4u-footer-top {
        grid-template-columns: 1fr 1fr;
        padding: 48px 28px 36px;
    }
    .cp4u-footer-badges-inner { padding: 16px 28px; gap: 20px; }
    .cp4u-footer-bottom-inner { padding: 16px 28px; }
}

@media (max-width: 640px) {
    .cp4u-footer-top {
        grid-template-columns: 1fr;
        padding: 36px 20px 28px;
        gap: 32px;
    }
    .cp4u-footer-badges-inner { padding: 14px 20px; gap: 14px; }
    .cp4u-footer-badge-sep { display: none; }
    .cp4u-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px;
        gap: 10px;
    }
    .cp4u-footer-tagline { max-width: 100%; }
}
