/* ============================================
   FOOTER V8 (ft8) - V8 Design System
   Dark, Plus Jakarta Sans, clean grid
   ============================================ */

.ft8 {
    background: #1e293b;
    color: #f8fafc;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    padding: 3rem 0 0;
    margin-top: 0;
}

.ft8__wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.ft8__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
    gap: 2rem 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    align-items: start;
}

/* Brand block */
.ft8__brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ft8__logo {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.ft8__logo img {
    max-width: 180px;
    max-height: 48px;
    height: auto;
    display: block;
    object-fit: contain;
}

.ft8__logo-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
}

.ft8__logo-text i {
    color: #3b82f6;
}

.ft8__tagline {
    font-size: 0.8125rem;
    color: #94a3b8;
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
    max-width: 260px;
}

.ft8__contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ft8__contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.ft8__contact-item:hover {
    color: #93c5fd;
}

.ft8__contact-item i {
    width: 1rem;
    color: #64748b;
    flex-shrink: 0;
}

.ft8__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.ft8__social-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s;
}

.ft8__social-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    border-color: transparent;
}

/* Link columns */
.ft8__col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ft8__col-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #93c5fd;
    margin: 0;
}

.ft8__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ft8__list a {
    font-size: 0.875rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.ft8__list a:hover {
    color: #f8fafc;
}

/* Newsletter block */
.ft8__newsletter {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ft8__newsletter .ft8__col-title {
    margin-bottom: 0;
}

.ft8__newsletter-text {
    font-size: 0.8125rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.4;
}

.ft8__newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ft8__newsletter-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    color: #f8fafc;
    font-size: 0.875rem;
    font-family: inherit;
    box-sizing: border-box;
}

.ft8__newsletter-input::placeholder {
    color: #64748b;
}

.ft8__newsletter-input:focus {
    outline: none;
    border-color: #3b82f6;
}

.ft8__newsletter-btn {
    padding: 0.625rem 1rem;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.2s;
}

.ft8__newsletter-btn:hover {
    opacity: 0.9;
}

/* Bottom bar */
.ft8__bottom {
    padding: 1.25rem 0;
    text-align: center;
}

.ft8__copy {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .ft8__top {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }

    .ft8__brand {
        grid-column: 1 / -1;
        max-width: 400px;
    }

    .ft8__newsletter {
        grid-column: 1 / -1;
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    .ft8__top {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .ft8__brand {
        align-items: center;
        max-width: none;
    }

    .ft8__tagline {
        max-width: none;
    }

    .ft8__col {
        align-items: center;
    }

    .ft8__list {
        align-items: center;
    }

    .ft8__newsletter {
        align-items: center;
        max-width: none;
    }

    .ft8__newsletter-form {
        width: 100%;
        max-width: 320px;
    }
}
