.site-footer {
    display: block;
    padding: clamp(32px, 4vw, 48px) 0 0;
    border-top: 1px solid #e5d6bd;
    background: linear-gradient(135deg, #faf6ed, #f2eadc);
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .8fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(20px, 3vw, 42px);
    padding-bottom: 32px;
}

.footer-logo {
    position: relative;
    display: block;
    width: min(100%, 218px);
    aspect-ratio: 4.2;
    overflow: hidden;
    border-radius: 10px;
}

.site-footer .footer-logo img {
    position: absolute;
    width: 128%;
    max-width: none;
    top: 50%;
    left: -14%;
    transform: translateY(-50%);
}

.site-footer .footer-brand p {
    max-width: 275px;
    margin: 12px 0 16px;
    color: #63513c;
    font-size: 14px;
}

.site-footer .footer-kicker {
    margin: 0 0 12px;
    color: #795426;
    font: 700 11px/1.4 'Segoe UI', Arial, sans-serif;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.footer-links { display: grid; justify-items: start; gap: 7px; }
.site-footer .footer-links a { color: #554431; font-size: 14px; }
.site-footer a:hover { color: #885522; text-decoration: underline; text-underline-offset: 3px; }

.site-footer .footer-trial {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border: 1px solid #c7a779;
    border-radius: 7px;
    background: #fffaf0;
    color: #624222;
    font-size: 13px;
    font-weight: 600;
}

.footer-office { padding-left: 18px; border-left: 1px solid #dfd0b8; }

.site-footer .footer-office address {
    display: grid;
    gap: 7px;
    color: #584631;
    font: normal 14px/1.55 'Segoe UI', Arial, sans-serif;
}

.footer-office strong { font-size: 13px; overflow-wrap: anywhere; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 22px;
    padding: 16px 0;
    border-top: 1px solid #dfd0b8;
}

.footer-policy-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer .footer-bottom small, .site-footer .footer-bottom a { font-size: 12px; color: #63513c; }
.site-footer .footer-bottom small { width: auto; border: 0; padding: 0; }

@media (max-width: 860px) {
    .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-office { grid-column: 1 / -1; padding-top: 15px; border: 0; border-top: 1px solid #dfd0b8; }
}

@media (max-width: 500px) {
    .footer-top { grid-template-columns: minmax(0, 1fr); }
}

.trial-form small a { color: #805a27; text-decoration: underline; text-underline-offset: 3px; }
