/* ========== CSAHUB футер ========== */

.site-footer {
    position: relative;
    background: #0a0a0a;
    color: #f5f5f5;
    padding: 90px 8% 30px;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* Ambient glow */
.site-footer::before {
    content: "";
    position: absolute;
    top: -200px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.site-footer::after {
    content: "";
    position: absolute;
    bottom: -250px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.footer-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    max-width: 1400px;
    margin: auto;
}

/* Logo */
.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 6px;
    margin-bottom: 15px;
    color: #fff;
    text-transform: uppercase;
}

.footer-tagline {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* Headings */
.footer-heading {
    font-size: 1rem;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background: #fff;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 10px;
}

.footer-links a:hover::before {
    width: 8px;
}

/* Socials */
.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.35s ease;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(8px);
}

.footer-social a:hover {
    transform: translateY(-5px) scale(1.08);
    background: #fff;
    color: #000;
    box-shadow: 0 10px 25px rgba(255,255,255,0.15);
}

/* Newsletter */
.footer-newsletter-text {
    color: rgba(255,255,255,0.7);
    margin-bottom: 18px;
    line-height: 1.6;
}

.footer-newsletter {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 60px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: 0.3s ease;
}

.footer-newsletter:focus-within {
    border-color: rgba(255,255,255,0.35);
    box-shadow: 0 0 20px rgba(255,255,255,0.08);
}

.footer-newsletter input {
    flex: 1;
    padding: 16px 20px;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
}

.footer-newsletter input::placeholder {
    color: rgba(255,255,255,0.45);
}

.footer-newsletter button {
    width: 60px;
    height: 55px;
    border: none;
    background: #fff;
    color: #000;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.footer-newsletter button:hover {
    background: #d9d9d9;
}

/* Contact */
.footer-contact {
    color: rgba(255,255,255,0.65);
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: #fff;
}

/* Bottom */
.footer-bottom {
    position: relative;
    z-index: 2;
    margin-top: 70px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 70px 7% 25px;
    }

    .footer-container {
        gap: 40px;
    }

    .footer-logo {
        font-size: 1.7rem;
    }

    .footer-newsletter button {
        width: 55px;
    }
}