/* Global site footer — desktop multi-column + compact mobile variant */



.site-footer {

    position: relative;

    isolation: isolate;

    z-index: 1;

    width: 100%;

    margin-top: 1.5rem;

    border-top: 1px solid rgba(218, 178, 93, 0.22);

    background:

        linear-gradient(180deg, rgba(218, 178, 93, 0.07), transparent 45%),

        rgba(0, 0, 0, 0.12);

    box-sizing: border-box;

    overflow: hidden;

}



.site-footer--desktop {

    display: block;

    padding: clamp(2rem, 4vw, 3rem) 16px calc(var(--bottom-nav-offset, 83px) + 24px);

}



.site-footer--mobile {

    display: none;

    padding: 1.15rem 14px calc(var(--bottom-nav-offset, 83px) + 14px);

}



.site-footer__aura {

    position: absolute;

    inset: auto 10% -50% auto;

    width: min(480px, 70vw);

    height: min(480px, 70vw);

    background: radial-gradient(circle, rgba(218, 178, 93, 0.18), transparent 70%);

    pointer-events: none;

    z-index: 0;

}



.site-footer__aura--mobile {

    inset: -30% auto auto 50%;

    transform: translateX(-50%);

    width: min(320px, 88vw);

    height: min(320px, 88vw);

    opacity: 0.85;

}



.site-footer__inner {

    position: relative;

    z-index: 1;

    max-width: 1120px;

    margin: 0 auto;

}



.site-footer__inner--mobile {

    max-width: 420px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 0.85rem;

    text-align: center;

}



.site-footer__grid {

    display: grid;

    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));

    gap: 1.5rem 1.25rem;

    margin-bottom: 1.5rem;

}



.site-footer__logo {

    display: inline-flex;

    align-items: center;

    gap: 0.7rem;

    margin-bottom: 0.75rem;

    color: var(--text-heading, var(--text-primary));

    font-family: 'Kalameh', sans-serif;

    font-weight: 800;

    font-size: 1.02rem;

    text-decoration: none;

    line-height: 1.4;

    min-width: 0;

    max-width: 100%;

}



.site-footer__logo--mobile {

    flex-direction: column;

    gap: 0.45rem;

    margin-bottom: 0;

    font-size: 0.92rem;

    max-width: min(100%, 18rem);

}



.site-footer__logo span {

    overflow-wrap: anywhere;

}



.site-footer__logo--mobile span {

    display: -webkit-box;

    -webkit-box-orient: vertical;

    -webkit-line-clamp: 2;

    line-clamp: 2;

    overflow: hidden;

}



.site-footer__logo img,

.site-footer__logo-img {

    width: 48px;

    height: 48px;

    border-radius: 14px;

    object-fit: contain;

    object-position: center;

    background: rgba(6, 22, 24, 0.22);

    border: 1px solid rgba(218, 178, 93, 0.35);

    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);

    flex: 0 0 auto;

}



.site-footer__logo-img--mobile {

    width: 40px;

    height: 40px;

    border-radius: 12px;

}



.site-footer__tagline {

    margin: 0;

    max-width: 22rem;

    color: var(--text-secondary);

    font-family: 'Kalameh', sans-serif;

    font-size: 0.92rem;

    line-height: 1.85;

}



.site-footer__heading {

    margin: 0 0 0.7rem;

    color: var(--primary-color, #dab25d);

    font-family: 'Kalameh', sans-serif;

    font-size: 0.9rem;

    font-weight: 750;

}



.site-footer__col {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 0.45rem;

}



.site-footer__col a {

    color: var(--text-secondary);

    font-family: 'Kalameh', sans-serif;

    font-size: 0.92rem;

    text-decoration: none;

    padding: 0.15rem 0;

    border-bottom: 1px solid transparent;

    transition: color 0.2s ease, border-color 0.2s ease;

}



.site-footer__col a:hover {

    color: var(--primary-color, #dab25d);

    border-bottom-color: rgba(218, 178, 93, 0.45);

}



.site-footer__social {

    display: flex;

    flex-wrap: wrap;

    gap: 0.4rem;

    margin-top: 0.55rem;

}



.site-footer__social a {

    padding: 0.35rem 0.7rem;

    border-radius: 999px;

    border: 1px solid rgba(218, 178, 93, 0.28);

    background: rgba(218, 178, 93, 0.08);

    color: var(--primary-color, #dab25d);

    font-size: 0.8rem;

    font-weight: 600;

    border-bottom: none !important;

}



.site-footer__quick {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 0.45rem;

    width: 100%;

    min-width: 0;

}



.site-footer__quick a {

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 2.35rem;

    padding: 0.45rem 0.55rem;

    border-radius: 12px;

    border: 1px solid rgba(218, 178, 93, 0.24);

    background: rgba(218, 178, 93, 0.07);

    color: var(--text-secondary);

    font-family: 'Kalameh', sans-serif;

    font-size: 0.78rem;

    font-weight: 650;

    line-height: 1.25;

    text-decoration: none;

    text-align: center;

    min-width: 0;

    overflow-wrap: anywhere;

    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;

}



.site-footer__quick a:hover {

    color: var(--primary-color, #dab25d);

    border-color: rgba(218, 178, 93, 0.42);

    background: rgba(218, 178, 93, 0.12);

}



.site-footer__quick a:last-child {

    grid-column: 1 / -1;

    justify-self: center;

    box-sizing: border-box;

    width: calc((100% - 0.45rem) / 2);

    max-width: 16.5rem;

}



.site-footer__social-row {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: center;

    gap: 0.55rem;

    width: 100%;

    min-width: 0;

}



.site-footer__social-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 2.65rem;

    height: 2.65rem;

    border-radius: 999px;

    border: 1px solid rgba(218, 178, 93, 0.28);

    background: rgba(218, 178, 93, 0.08);

    color: var(--primary-color, #dab25d);

    text-decoration: none;

    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;

}



.site-footer__social-btn:hover {

    transform: translateY(-1px);

    border-color: rgba(218, 178, 93, 0.45);

    background: rgba(218, 178, 93, 0.14);

}



.site-footer__social-btn-icon {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 1.35rem;

    height: 1.35rem;

}



.site-footer__social-btn-icon svg,

.site-footer__social-btn-icon img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}



.site-footer__bar {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: space-between;

    gap: 0.75rem;

    padding-top: 1.1rem;

    border-top: 1px solid rgba(218, 178, 93, 0.16);

}



.site-footer__mobile-bar {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 0.65rem;

    width: 100%;

    min-width: 0;

    padding-top: 0.65rem;

    border-top: 1px solid rgba(218, 178, 93, 0.14);

}



.site-footer__copy {

    margin: 0;

    color: var(--text-muted, var(--text-secondary));

    font-family: 'Kalameh', sans-serif;

    font-size: 0.84rem;

    opacity: 0.88;

}



.site-footer__copy--mobile {

    flex: 1 1 auto;

    min-width: 0;

    font-size: 0.72rem;

    line-height: 1.35;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    text-align: start;

}



.site-footer__top {

    color: var(--primary-color, #dab25d);

    font-family: 'Kalameh', sans-serif;

    font-size: 0.88rem;

    font-weight: 650;

    text-decoration: none;

}



.site-footer__top:hover {

    text-decoration: underline;

}



.site-footer__top--icon {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    flex: 0 0 auto;

    width: 2.15rem;

    height: 2.15rem;

    border-radius: 999px;

    border: 1px solid rgba(218, 178, 93, 0.28);

    background: rgba(218, 178, 93, 0.08);

    text-decoration: none;

}



.site-footer__top--icon:hover {

    text-decoration: none;

    background: rgba(218, 178, 93, 0.14);

    border-color: rgba(218, 178, 93, 0.42);

}



[data-theme="light"] .site-footer {

    background:

        linear-gradient(180deg, rgba(201, 162, 55, 0.12), transparent 42%),

        rgba(250, 244, 232, 0.82);

    border-top-color: rgba(160, 120, 42, 0.36);

}



[data-theme="light"] .site-footer__aura {

    background: radial-gradient(circle, rgba(201, 162, 55, 0.18), transparent 70%);

}



[data-theme="light"] .site-footer__logo img,

[data-theme="light"] .site-footer__logo-img {

    background: rgba(250, 244, 232, 0.88);

    box-shadow: 0 6px 16px rgba(55, 38, 12, 0.12);

}



[data-theme="light"] .site-footer__social a,

[data-theme="light"] .site-footer__social-btn,

[data-theme="light"] .site-footer__top--icon {

    background: rgba(201, 162, 55, 0.14);

    border-color: rgba(160, 120, 42, 0.40);

}



[data-theme="light"] .site-footer__quick a {

    background: rgba(218, 178, 93, 0.08);

    border-color: rgba(196, 157, 74, 0.26);

}



@media (max-width: 900px) {

    .site-footer__grid {

        grid-template-columns: 1fr 1fr;

    }



    .site-footer__brand-col {

        grid-column: 1 / -1;

    }

}



@media (max-width: 767px) {

    .site-footer--desktop {

        display: none !important;

    }



    .site-footer--mobile {

        display: block;

    }

}



@media (min-width: 768px) {

    .site-footer--mobile {

        display: none !important;

    }

}



@media (max-width: 360px) {

    .site-footer--mobile {

        padding-inline: 10px;

    }



    .site-footer__quick {

        gap: 0.35rem;

    }



    .site-footer__quick a {

        font-size: 0.72rem;

        min-height: 2.15rem;

        padding-inline: 0.4rem;

    }



    .site-footer__quick a:last-child {

        width: calc((100% - 0.35rem) / 2);

    }



    .site-footer__social-btn {

        width: 2.45rem;

        height: 2.45rem;

    }

}


