.site-footer {
    padding: 4.5rem 0 1.5rem;
    background: linear-gradient(90deg, #100d0e 30%, rgba(16,13,14,.83) 72%, rgba(16,13,14,.8)),
        url('../images/authentic/dino-baffetti.webp') right center / auto 145% no-repeat #100d0e;
    color: var(--color-ivory);
}
.footer-main { display: grid; gap: 3rem; }
.brand-footer { margin-bottom: 1.5rem; }
.footer-brand p { max-width: 28rem; color: #c5bdb2; font-family: var(--font-display); font-size: 1.25rem; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
.footer-links div { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.footer-links h2 { margin-bottom: 0.7rem; color: var(--color-brass-soft); font-family: var(--font-body); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; }
.footer-links a { display: block; padding-block: 0.25rem; color: rgba(243, 237, 226, 0.78); font-size: 0.86rem; text-decoration: none; }
.footer-address { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; font-style: normal; overflow-wrap: anywhere; }
.footer-address a { width: fit-content; }
.footer-appointment {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: .4rem;
    font-size: .9rem;
}
.footer-warranty {
    position: relative;
    isolation: isolate;
    display: flex;
    flex: 0 0 6.5rem;
    aspect-ratio: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .15rem;
    color: #24170e;
    line-height: 1.1;
    text-decoration: none;
}
.footer-warranty::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(circle at 38% 28%, #f7dfa3, #c99d52);
    clip-path: polygon(50% 0%, 59% 7%, 69% 4%, 74% 13%, 85% 15%, 87% 26%, 96% 31%, 93% 41%, 100% 50%, 93% 59%, 96% 69%, 87% 74%, 85% 85%, 74% 87%, 69% 96%, 59% 93%, 50% 100%, 41% 93%, 31% 96%, 26% 87%, 15% 85%, 13% 74%, 4% 69%, 7% 59%, 0% 50%, 7% 41%, 4% 31%, 13% 26%, 15% 15%, 26% 13%, 31% 4%, 41% 7%);
    content: "";
}
.footer-warranty strong { font: 700 1.35rem/1.1 var(--font-display); }
.footer-warranty span { font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.footer-warranty small { font-size: .58rem; }
.footer-warranty:is(:hover, :focus-visible) span { text-decoration: underline; }
.footer-links a:hover { color: var(--color-brass-soft); }
.footer-pending { color: rgba(243, 237, 226, 0.35); font-size: 0.72rem; font-style: italic; }
.footer-bottom { display: flex; margin-top: 3.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(243, 237, 226, 0.12); color: #aaa095; font-size: 0.7rem; justify-content: space-between; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }
.footer-meta { display: flex; align-items: center; gap: 1.5rem; }
.website-credit { color: #aaa095; }
.website-credit a { color: #b9afa4; transition: color var(--transition); }
.website-credit a:hover { color: var(--color-brass-soft); }

@media (max-width: 35rem) {
    .footer-bottom, .footer-meta { align-items: flex-start; flex-direction: column; }
    .footer-bottom { gap: 0.65rem; }
    .footer-meta { gap: 0.35rem; }
}

@media (min-width: 48rem) {
    .footer-main { grid-template-columns: 1.1fr 1.5fr; }
    .footer-links { grid-template-columns: repeat(3, 1fr); }
}

/* Phone-only composition: give each footer group the same centered column. */
@media (max-width: 35rem) {
    .site-footer { text-align: center; }
    .footer-main, .footer-links { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
    .footer-brand p { max-width: 24rem; margin-inline: auto; }
    .footer-address, .footer-links > div { align-items: center; }
    .footer-links h2 { margin-bottom: .5rem; }
    .footer-links a { max-width: 100%; }
    .footer-bottom, .footer-meta { align-items: center; }
    .footer-bottom { gap: 1rem; margin-top: 2.5rem; }
    .footer-meta { gap: .75rem; }
}

.brand-footer .brand-logo { width: 260px; height: 130px; object-fit: contain; }
@media (max-width: 35rem) {
    .brand-footer .brand-logo { width: 240px; height: 120px; }
}
