#footer.site-footer {
    position: relative;
    margin: 0;
    padding: 0 0 8px;
    overflow: hidden;
    border: 0;
    background:
        radial-gradient(circle at 92% 0%, rgba(39, 168, 127, 0.22), transparent 26%),
        linear-gradient(180deg, #0d1c31 0%, #08101e 100%);
    color: rgba(255, 255, 255, 0.82);
    font-family: "Poppins", sans-serif;
}

#footer.site-footer::before {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #27a87f, #8fd9bf 42%, transparent);
    opacity: 1;
}

#footer.site-footer .site-footer-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 22px;
}

#footer.site-footer p,
#footer.site-footer h2,
#footer.site-footer li,
#footer.site-footer span,
#footer.site-footer a {
    font-family: "Poppins", sans-serif;
}

#footer.site-footer h2 {
    margin: 0 0 14px;
    color: #8fd9bf;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-transform: uppercase;
}

#footer.site-footer h2::after {
    display: none;
}

#footer.site-footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.94rem;
    line-height: 1.6;
}

#footer.site-footer a {
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
}

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

#footer.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer.site-footer li {
    margin: 0;
}

#footer.site-footer .site-footer-news {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: center;
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#footer.site-footer .site-footer-kicker {
    margin-bottom: 6px;
    color: #8fd9bf;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#footer.site-footer .site-footer-lead {
    max-width: 28rem;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.35;
}

#footer.site-footer .site-footer-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

#footer.site-footer .site-footer-honeypot {
    position: absolute;
    left: -9999px;
}

#footer.site-footer .site-footer-form-row {
    display: flex;
    gap: 8px;
    min-width: 0;
}

#footer.site-footer input[type="email"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 48px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 0.95rem;
    box-shadow: none;
}

#footer.site-footer input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.48);
}

#footer.site-footer input[type="email"]:focus {
    outline: 2px solid rgba(39, 168, 127, 0.7);
    border-color: transparent;
}

#footer.site-footer .site-footer-form button {
    flex: 0 0 auto;
    height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: #27a87f;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

#footer.site-footer .site-footer-form button:hover {
    background: #1b8a66;
}

#footer.site-footer .site-footer-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    line-height: 1.45;
}

#footer.site-footer .site-footer-check input {
    margin-top: 3px;
    accent-color: #27a87f;
}

#footer.site-footer .site-footer-check a {
    color: #8fd9bf;
    text-decoration: underline;
}

#footer.site-footer .site-footer-note {
    font-size: 0.86rem;
}

#footer.site-footer .site-footer-note.is-ok {
    color: #8fd9bf;
}

#footer.site-footer .site-footer-note.is-error {
    color: #ffb4a2;
}

#footer.site-footer .site-footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.7fr 1fr 1.15fr;
    gap: 32px;
}

#footer.site-footer .site-footer-grid > * {
    min-width: 0;
}

#footer.site-footer .site-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #fff;
}

#footer.site-footer .site-footer-logo img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 10px;
}

#footer.site-footer .site-footer-logo span {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

#footer.site-footer .site-footer-logo strong {
    color: #fff;
    font-family: "Orbitron", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.08em;
}

#footer.site-footer .site-footer-logo small {
    color: #8fd9bf;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#footer.site-footer .site-footer-brand p {
    max-width: 28rem;
    margin-bottom: 16px;
}

#footer.site-footer .site-footer-journal {
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 16px;
    padding: 8px 14px 8px 8px;
    border: 1px solid rgba(201, 162, 94, 0.45);
    border-radius: 999px;
    background: #05080d;
    color: #fff;
}

#footer.site-footer .site-footer-journal img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

#footer.site-footer .site-footer-journal span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

#footer.site-footer .site-footer-journal strong {
    color: #fff;
    font-size: 0.86rem;
}

#footer.site-footer .site-footer-journal small {
    color: #c9a25e;
    font-size: 0.75rem;
}

#footer.site-footer .site-footer-journal:hover {
    color: #fff;
    border-color: #c9a25e;
}

#footer.site-footer .site-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#footer.site-footer .site-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    color: #fff;
}

#footer.site-footer .site-footer-social a:hover {
    background: rgba(39, 168, 127, 0.2);
    border-color: transparent;
}

#footer.site-footer .site-footer-grid ul a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
}

#footer.site-footer .site-footer-grid ul a:hover {
    color: #8fd9bf;
}

#footer.site-footer .site-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    line-height: 1.45;
}

#footer.site-footer .site-footer-contact i {
    width: 16px;
    margin-top: 3px;
    color: #5ee3b3;
    text-align: center;
}

#footer.site-footer .site-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#footer.site-footer .site-footer-bottom p {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.86rem;
}

#footer.site-footer .site-footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

#footer.site-footer .site-footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.86rem;
}

@media (max-width: 980px) {
    #footer.site-footer .site-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    #footer.site-footer .site-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    #footer.site-footer {
        padding-bottom: calc(92px + env(safe-area-inset-bottom));
    }

    #footer.site-footer .site-footer-inner {
        width: min(1180px, calc(100% - 32px));
    }

    #footer.site-footer .site-footer-news,
    #footer.site-footer .site-footer-grid {
        grid-template-columns: 1fr;
    }

    #footer.site-footer .site-footer-form-row {
        flex-direction: column;
    }

    #footer.site-footer .site-footer-form button {
        width: 100%;
    }

    #footer.site-footer .site-footer-bottom {
        align-items: flex-start;
    }
}
