.site-footer {
    position: relative;
    margin-top: 70px;
    background:
        radial-gradient(circle at 10% 10%, rgba(204, 26, 37, .22), transparent 32%),
        radial-gradient(circle at 90% 0%, rgba(37, 99, 235, .16), transparent 34%),
        linear-gradient(135deg, #071226 0%, #0b1830 48%, #111827 100%);
    color: rgba(255, 255, 255, .72);
    overflow: hidden;
}

.site-footer * {
    box-sizing: border-box;
}

.site-footer-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .9;
}

.site-footer-bg::before {
    content: "";
    position: absolute;
    right: -160px;
    top: -180px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .055);
}

.site-footer-bg::after {
    content: "";
    position: absolute;
    left: -110px;
    bottom: -160px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(204, 26, 37, .14);
}

.footer-main {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(260px, 2fr) repeat(3, minmax(150px, 1fr));
    gap: 42px;
    padding: 58px 0 38px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand {
    max-width: 420px;
}

.footer-logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    margin-bottom: 18px;
}

.footer-logo-img,
.footer-logo-letter {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .22);
}

.footer-logo-img {
    background: #fff;
    padding: 7px;
}

.footer-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.footer-logo-letter {
    background: linear-gradient(135deg, var(--red, #cc1a25), #ef4444);
    color: #fff;
    font-family: var(--fh, inherit);
    font-weight: 950;
    font-size: 22px;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-logo-text strong {
    color: #fff;
    font-family: var(--fh, inherit);
    font-size: 21px;
    font-weight: 950;
    letter-spacing: -.03em;
    line-height: 1.05;
}

.footer-logo-text small {
    color: rgba(255, 255, 255, .42);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.footer-desc {
    margin: 0;
    max-width: 330px;
    color: rgba(255, 255, 255, .54);
    font-size: 13px;
    line-height: 1.85;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.footer-social {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .08);
    text-decoration: none;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.footer-social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    color: currentColor;
}

.footer-social:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
}

.footer-social.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.footer-social.twitter:hover {
    background: #111827;
    border-color: rgba(255, 255, 255, .18);
}

.footer-social.instagram:hover {
    background: linear-gradient(135deg, #f97316, #e1306c, #7c3aed);
    border-color: rgba(255, 255, 255, .18);
}

.footer-social.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.footer-social.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

.footer-col h4 {
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 12px;
    color: #fff;
    font-family: var(--fh, inherit);
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: var(--red, #cc1a25);
}

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

.footer-col a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .52);
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

.footer-col a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-link-icon {
    position: relative;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    flex-shrink: 0;
    transition: background .18s ease;
}

.footer-link-icon::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 3px;
    width: 4px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    opacity: .8;
}

.footer-col a:hover .footer-link-icon {
    background: var(--red, #cc1a25);
}

.footer-newsletter {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 26px;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 22px;
    background: rgba(255, 255, 255, .055);
    backdrop-filter: blur(12px);
}

.footer-newsletter strong {
    display: block;
    color: #fff;
    font-family: var(--fh, inherit);
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 4px;
}

.footer-newsletter span {
    display: block;
    color: rgba(255, 255, 255, .48);
    font-size: 12px;
    line-height: 1.5;
}

.footer-newsletter-form {
    display: flex;
    align-items: center;
    width: min(420px, 100%);
    min-width: 320px;
    background: #fff;
    border-radius: 999px;
    padding: 5px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .18);
}

.footer-newsletter-form input {
    flex: 1;
    height: 42px;
    border: 0;
    outline: 0;
    padding: 0 15px;
    background: transparent;
    color: #111827;
    font-size: 13px;
}

.footer-newsletter-form input::placeholder {
    color: #94a3b8;
}

.footer-newsletter-form button {
    height: 42px;
    border: 0;
    outline: 0;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--red, #cc1a25);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s ease, transform .18s ease;
}

.footer-newsletter-form button:hover {
    background: var(--red-dark, #a8141d);
    transform: translateY(-1px);
}

.footer-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    color: rgba(255, 255, 255, .38);
    font-size: 12px;
    line-height: 1.5;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, .42);
    text-decoration: none;
    transition: color .18s ease;
}

.footer-bottom-links a:hover {
    color: #fff;
}

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 34px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .footer-desc {
        max-width: 680px;
    }
}

@media (max-width: 820px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        padding-top: 44px;
    }

    .footer-newsletter {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-newsletter-form {
        min-width: 0;
        width: 100%;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .site-footer {
        margin-top: 44px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 36px;
    }

    .footer-logo-img,
    .footer-logo-letter {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .footer-logo-text strong {
        font-size: 18px;
    }

    .footer-newsletter {
        padding: 17px;
        border-radius: 18px;
    }

    .footer-newsletter-form {
        border-radius: 16px;
        flex-direction: column;
        padding: 8px;
    }

    .footer-newsletter-form input {
        width: 100%;
        height: 40px;
    }

    .footer-newsletter-form button {
        width: 100%;
        height: 40px;
    }

    .footer-bottom-links {
        gap: 10px;
    }
}