:root {
    --color-primary: #3660a5;
    --color-primary-hover: #274a8b;
}

.site-footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 3.5rem 1.5rem 2rem;
    margin-top: 4rem;
}

.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-footer__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}

.site-footer__text {
    margin: 0 0 1.2rem;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.82);
}

.newsletter {
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.4);
    padding: 6px;
    border-radius: 999px;
    border: 1px solid rgba(226, 232, 240, 0.18);
    max-width: 320px;
}

    .newsletter input {
        flex: 1;
        border: none;
        background: transparent;
        color: #fff;
        padding: 0.55rem 0.85rem;
        font-size: 0.95rem;
        border-radius: 999px;
    }

        .newsletter input::placeholder {
            color: rgba(226, 232, 240, 0.6);
        }

    .newsletter button {
        border: none;
        background: var(--color-primary);
        color: #fff;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.2s ease, transform 0.2s ease;
    }

        .newsletter button:hover {
            background: var(--color-primary-hover);
            transform: translateY(-2px);
        }

.site-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
    color: rgba(226, 232, 240, 0.82);
    font-size: 0.95rem;
}

    .site-footer__list a {
        color: inherit;
        transition: color 0.2s ease;
    }

        .site-footer__list a:hover {
            color: #fff;
        }

.site-footer__apps {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

    .site-footer__apps img {
        border-radius: 12px;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
    }

.site-footer__socials {
    display: flex;
    gap: 0.75rem;
}

    .site-footer__socials a {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 1px solid rgba(226, 232, 240, 0.3);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s ease, transform 0.2s ease;
        color: inherit;
    }

        .site-footer__socials a:hover {
            background: rgba(226, 232, 240, 0.18);
            transform: translateY(-3px);
        }

.site-footer__bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.16);
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.7);
}

@media (max-width: 1024px) {
    .site-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 3rem 1.25rem 2rem;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .newsletter {
        max-width: 100%;
    }
}