.footer {
    background: var(--bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 2rem;
}

.footer-subscribe {
    background: linear-gradient(180deg, #080808 0%, #000000 100%);
    padding: clamp(3rem, 6vw, 4rem) clamp(1rem, 4vw, 1.5rem);
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
}

.footer-subscribe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--gold);
}

.impact-phrase {
    font-size: clamp(1.5rem, 2.5vw, 2.4rem);
    font-weight: 300;
    color: var(--text);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.impact-phrase span {
    color: var(--gold);
    font-weight: 600;
}

.subscribe-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.sub-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    color: #ffffff;
    font-size: 1rem;
    flex: 1;
    min-width: auto;
    outline: none;
    transition: border-color 0.3s;
}

.sub-input:focus {
    border-color: var(--gold);
}

.sub-input::placeholder {
    color: var(--muted);
}

.sub-btn {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    flex-shrink: 0;
    white-space: nowrap;
}

.sub-btn:hover {
    background: var(--gold-light);
    transform: scale(1.05);
}

.footer-main {
    padding: clamp(3rem, 6vw, 4rem) clamp(1rem, 4vw, 1.5rem) 0;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    text-align: left;
}

.footer-brand .logo {
    height: 50px;
    margin-bottom: 1.5rem;
    margin-left: 0;
}

.footer-brand p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--muted);
    transition: all 0.3s var(--ease-smooth);
}

.footer-social a:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 0.9rem;
}

.footer-col a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease-smooth);
    display: inline-block;
}

.footer-col a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-contact p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-contact i {
    color: var(--gold);
    font-size: 1.1rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #555;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s var(--ease-smooth);
}

.footer-links a:hover {
    color: var(--gold);
}

.back-to-top {
    position: fixed;
    bottom: clamp(1rem, 3vw, 2rem);
    right: clamp(1rem, 3vw, 2rem);
    width: clamp(40px, 6vw, 50px);
    height: clamp(40px, 6vw, 50px);
    border-radius: 50%;
    background: var(--gold);
    color: #000;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-smooth);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .subscribe-form {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .sub-btn {
        width: 100%;
    }
}