/* =============================================================
   site-footer  —  2026 Amazigh-weave footer
   -------------------------------------------------------------
   Terracotta footer on the intro-loader palette with the
   animated brand motif weave (brand-weave.css), centred brand +
   contact block, social links and legal base line.
   Loads site-wide after app.css (wins at equal specificity).
   ============================================================= */

.site-footer.site-footer--weave {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(72px, 9vw, 130px) 24px 26px;
    color: #f6e7d4;
}

.site-footer--weave .site-footer__inner {
    position: relative;
    z-index: 2;
    width: min(880px, 100%);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.site-footer--weave .site-footer__brand { display: inline-block; }
.site-footer--weave .site-footer__brand img { width: clamp(120px, 13vw, 158px); height: auto; }
.site-footer--weave .site-footer__contact {
    margin-top: clamp(56px, 7vw, 104px);
    font-style: normal;
}
.site-footer--weave .site-footer__contact p { margin: 0; }
.site-footer--weave .site-footer__contact p + p { margin-top: 6px; }
.site-footer--weave .site-footer__contact {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 1.9vw, 1.55rem);
    line-height: 1.5;
    letter-spacing: .005em;
    color: #f6e7d4;
}
.site-footer--weave .site-footer__contact a {
    color: inherit;
    text-decoration: none;
    transition: opacity .25s ease;
}
.site-footer--weave .site-footer__contact a:hover { opacity: .78; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.site-footer--weave .site-footer__contact a:focus-visible { outline: 2px solid #f6e7d4; outline-offset: 4px; }
.site-footer--weave .site-footer__phones span { margin-inline: 10px; opacity: .7; }
.site-footer--weave .site-footer__directions { margin-top: 14px !important; font-family: var(--font-sans, Arial, sans-serif) !important; font-size: .72rem !important; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }

/* Social wordmarks */
.site-footer--weave .site-footer__social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 4.5vw, 64px);
    margin-top: clamp(64px, 8vw, 120px);
}
.site-footer--weave .site-footer__social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f6e7d4;
    text-decoration: none;
    transition: opacity .25s ease, transform .25s ease;
}
.site-footer--weave .site-footer__social-link:hover { opacity: .82; transform: translateY(-2px); }
.site-footer--weave .site-footer__social-link:focus-visible { outline: 2px solid #f6e7d4; outline-offset: 5px; }
.site-footer--weave .site-footer__social-link > span:last-child:not(:only-child) { font-size: 1.06rem; font-weight: 650; letter-spacing: .012em; }
.site-footer--weave .site-footer__social-link--google { flex-direction: column; gap: 3px; }
.site-footer--weave .site-footer__social-word { font-size: 1.14rem; font-weight: 650; letter-spacing: .012em; }
.site-footer--weave .site-footer__social-sub { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.site-footer--weave .site-footer__social-sub b { font-weight: 400; letter-spacing: .12em; font-size: .72rem; }

/* Base line */
.site-footer--weave .site-footer__base {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    width: 100%;
    margin-top: clamp(48px, 6vw, 88px);
    padding-top: 18px;
    border-top: 1px solid rgba(246, 231, 212, .28);
    color: rgba(246, 231, 212, .78);
    font-size: .62rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.site-footer--weave .site-footer__base small { font-size: inherit; }
.site-footer--weave .site-footer__credit {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .32rem .7rem .32rem .85rem;
    border: 1px solid rgba(246, 231, 212, .4);
    border-radius: 999px;
    background: transparent;
    color: #f6e7d4;
    text-decoration: none;
    transition: background-color .3s ease, transform .3s ease;
}
.site-footer--weave .site-footer__credit:hover { background: rgba(246, 231, 212, .12); transform: translateY(-2px); }
.site-footer--weave .site-footer__credit span { font-size: .5rem; font-weight: 650; letter-spacing: .14em; white-space: nowrap; }
.site-footer--weave .site-footer__credit img { width: 3.1rem; height: 1.15rem; object-fit: contain; }
.site-footer--weave .site-footer__credit:focus-visible { outline: 2px solid #f6e7d4; outline-offset: 3px; }

@media(max-width: 767px) {
    .site-footer--weave { padding-top: 64px; }
    .site-footer--weave .site-footer__contact { margin-top: 44px; font-size: 1.12rem; }
    .site-footer--weave .site-footer__social { margin-top: 44px; gap: 22px; }
    .site-footer--weave .site-footer__base { margin-top: 44px; justify-content: center; text-align: center; }
}
@media(prefers-reduced-motion: reduce) {
    .site-footer--weave .site-footer__contact a,
    .site-footer--weave .site-footer__social-link,
    .site-footer--weave .site-footer__credit { transition: none; }
}
