.site-footer {
    background: var(--navy);
    color: var(--white);
    margin-top: 50px;
}

/* Pages that intentionally continue directly into the shared footer/newsletter. */
.site-footer.site-footer--flush {
    margin-top: 0;
}

.footer-newsletter {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 38px 0;
}

.footer-newsletter-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    align-items: center;
}

.footer-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.footer-newsletter h2 {
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.05;
    margin-bottom: 8px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 620px;
}

.footer-newsletter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0;
    background: #ffffff;
    padding: 6px;
    border-radius: 14px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.16);
}

.footer-newsletter-form input {
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text);
    padding: 14px 16px;
    width: 100%;
    min-width: 0;
}

.footer-newsletter-form button {
    border: 0;
    background: var(--navy);
    color: #ffffff;
    cursor: pointer;
    font-weight: 900;
    padding: 14px 22px;
    border-radius: 10px;
    text-transform: uppercase;
}

.footer-newsletter-form button:hover {
    background: var(--navy-soft);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 38px;
    padding: 50px 0 42px;
}

.footer-brand h2 {
    font-family: "Merriweather", Georgia, serif;
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 14px;
}

.footer-brand p {
    color: #cbd5e1;
    max-width: 420px;
    margin-bottom: 22px;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.footer-socials a {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    transition: all 0.25s ease;
}

.footer-socials a i {
    display: block;
    line-height: 1;
}

.footer-socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: var(--white);
    font-size: 0.86rem;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.footer-column a {
    color: #cbd5e1;
    display: block;
    font-size: 0.94rem;
    margin: 9px 0;
    transition: all 0.2s ease;
}

.footer-column a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    padding: 16px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    font-size: 0.86rem;
}

.footer-bottom-inner div {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-bottom-inner a {
    color: #cbd5e1;
}

.footer-bottom-inner a:hover {
    color: var(--primary);
}

@media (max-width: 900px) {
    .footer-newsletter-inner,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-newsletter-form {
        grid-template-columns: 1fr;
        gap: 8px;
    }

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

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

.footer-socials i {
    display: block !important;
    font-size: 20px !important;
    color: #ffffff !important;
    line-height: 1 !important;
}

.footer-socials a {
    width: 48px !important;
    height: 48px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;

    background: rgba(255,255,255,.08) !important;

    color: #ffffff !important;
}

.footer-socials .social-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    line-height: 1 !important;
}

.footer-socials .social-icon:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: translateY(-3px);
}

/* =========================================================
   FOOTER LOGO
========================================================= */

.footer-logo {
    display: block;
    width: min(355px, 100%);
    max-width: 100%;
    margin-bottom: 18px;
}

.footer-logo img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 2231 / 628;
    object-fit: contain;
}

.footer-newsletter-right {
    width: min(480px, 100%);
}

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

.footer-recaptcha-notice {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 10.5px;
    line-height: 1.4;
    text-align: left;
}

.footer-recaptcha-notice a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: underline;
}

.footer-recaptcha-notice a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .footer-newsletter-right {
        width: 100%;
    }

    .footer-recaptcha-notice {
        text-align: left;
    }
}
@media (max-width: 480px) {
    .footer-logo {
        width: min(300px, 88vw);
        max-width: 100%;
    }

    .footer-logo img {
        width: 100%;
        height: auto !important;
    }
}
