/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: rgba(2, 2, 2, 0.88);
    padding: 0 24px 0;
    position: relative;
    z-index: 1;
}

.footer-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(108, 99, 255, 0.2) 30%, rgba(0, 242, 255, 0.15) 70%, transparent 95%);
    margin-bottom: 64px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand .footer-logo-img {
    height: 100px;
    width: auto;
    margin-bottom: 12px;
    opacity: 0.9;
    display: block;
}

.footer-brand .footer-tagline {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-top: 10px;
    max-width: 240px;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(108, 99, 255, 0.3);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-desc {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.7;
    max-width: 260px;
    margin-top: 12px;
    margin-bottom: 20px;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
    display: inline-block;
}

.footer-contact p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-contact ul li {
    margin-bottom: 0;
}

.footer-contact ul a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    transition: all 0.3s ease;
}

.footer-contact ul a:hover {
    color: #ffffff;
    transform: translateX(4px);
    display: inline-block;
}

.footer-phone a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.02em;
}

.footer-phone a:hover {
    color: #ffffff;
}

.phone-flag {
    font-size: 1.125rem;
    line-height: 1;
}

.footer-email a {
    font-size: 0.875rem;
}

/* Social links */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: #ffffff;
    border-color: rgba(108, 99, 255, 0.4);
    background: rgba(108, 99, 255, 0.08);
    transform: translateY(-2px);
}

/* KIT Digital */
.footer-kit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: 19px 20px;
    padding: 15px 15px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #ffffff;
    border-radius: 12px;
}

.footer-kit-logo {
    width: 18%;
    height: auto;
    flex-shrink: 0;
}

.footer-copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
}

/* ============================================
   FLUENT FORMS — RMV Style
   ============================================ */
.rmv-form .ff-el-group {
    margin-bottom: 20px;
}

.rmv-form .ff-el-input--label label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.03em;
    margin-bottom: 8px;
    display: block;
}

.rmv-form .ff-el-form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    padding: 12px 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.rmv-form .ff-el-form-control::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.rmv-form .ff-el-form-control:focus {
    border-color: rgba(108, 99, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.rmv-form textarea.ff-el-form-control {
    resize: vertical;
    min-height: 120px;
}

.rmv-form .ff-btn-submit {
    background: var(--grad) !important;
    border: none !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    padding: 14px 36px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 0 24px rgba(108, 99, 255, 0.3) !important;
    letter-spacing: 0.02em !important;
}

.rmv-form .ff-btn-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 0 36px rgba(108, 99, 255, 0.45) !important;
}

.rmv-form-audit .ff-btn-submit {
    width: 100%;
}

.rmv-form .ff-el-is-error .ff-el-form-control {
    border-color: rgba(255, 80, 80, 0.5) !important;
}

.rmv-form .error {
    font-size: 0.75rem;
    color: rgba(255, 100, 100, 0.9);
    margin-top: 4px;
}

.ff-message-success {
    margin-top: 24px;
    padding: 24px 28px;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.4);
    border-left: 4px solid #34d399;
    border-radius: 12px;
    color: #34d399;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    box-shadow: 0 0 24px rgba(52, 211, 153, 0.1);
}

/* ============================================
   RESPONSIVE — FOOTER (≤ 768px)
   ============================================ */
@media (max-width: 768px) {

    .site-footer {
        padding: 56px 20px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }

    .footer-brand .footer-tagline {
        max-width: 100%;
    }

    .footer-links ul {
        align-items: center;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-phone a {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-kit {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 24px 20px;
    }

    .footer-kit-logo {
        height: auto;
        width: 60%;
        max-width: 200px;
    }

    .footer-copyright {
        font-size: 0.6875rem;
        padding: 16px 0;
    }

    .footer-separator {
        margin-bottom: 40px;
    }
}
