/* =========================================
   SOVEREIGN REALTY CO
   SHARED FOOTER STYLES
   LIGHT THEME
========================================= */


/* =========================================
   1. FOOTER WRAPPER
========================================= */

#site-footer {
    width: 100%;
}

.sovereign-footer {
    width: 100%;
    background: #FFF2F2;
    color: #165823;
}


/* =========================================
   2. MAIN FOOTER LAYOUT
========================================= */

.sovereign-footer-main {
    display: grid;
    grid-template-columns: 1.4fr 0.85fr 1fr 1.2fr;
    gap: 40px;
    width: min(88%, 1400px);
    margin: 0 auto;
    padding: 65px 0 55px;
}


/* =========================================
   3. FOOTER BRAND
========================================= */

.sovereign-footer-brand {
    min-width: 0;
}

.sovereign-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 20px;
    color: #165823;
    text-decoration: none;
}

.sovereign-footer-logo-image {
    display: block;
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.sovereign-footer-logo>span {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sovereign-footer-logo strong {
    color: #165823;
    font-family: "DM Sans", sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.sovereign-footer-logo small {
    color: #B83F59;
    font-family: "DM Sans", sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 3px;
}

.sovereign-footer-brand>p {
    max-width: 310px;
    margin: 0 0 19px;
    color: #526454;
    font-family: "DM Sans", sans-serif;
    font-size: 0.86rem;
    line-height: 1.9;
}

.sovereign-footer-tagline {
    display: inline-block;
    padding: 9px 11px;
    border-left: 3px solid #FF788D;
    background: #FFDADA;
    color: #165823;
    font-family: "DM Sans", sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.1px;
    line-height: 1.5;
}


/* =========================================
   4. FOOTER LINK COLUMNS
========================================= */

.sovereign-footer-column {
    min-width: 0;
}

.sovereign-footer-column h3 {
    position: relative;
    margin: 0 0 24px;
    padding-bottom: 12px;
    color: #165823;
    font-family: "Playfair Display", serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.sovereign-footer-column h3::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38px;
    height: 2px;
    content: "";
    background: #FF788D;
}

.sovereign-footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sovereign-footer-column li {
    margin: 0;
    padding: 0;
}

.sovereign-footer-column li a {
    display: inline-block;
    color: #526454;
    font-family: "DM Sans", sans-serif;
    font-size: 0.84rem;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.sovereign-footer-column li a:hover {
    color: #C74761;
    transform: translateX(4px);
}


/* =========================================
   5. FOOTER CONTACT DETAILS
========================================= */

.sovereign-footer-contact>p {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0 0 16px;
    color: #526454;
    font-family: "DM Sans", sans-serif;
    font-size: 0.82rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.sovereign-footer-contact>p>span {
    flex-shrink: 0;
    color: #C74761;
    font-size: 1rem;
}

.sovereign-footer-contact>p a {
    color: #526454;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.3s ease;
}

.sovereign-footer-contact>p a:hover {
    color: #C74761;
}

.sovereign-footer-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-top: 8px;
    padding: 11px 16px;
    border: 1px solid #165823;
    border-radius: 4px;
    background: #165823;
    color: #FFFFFF;
    font-family: "DM Sans", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.sovereign-footer-contact-btn:hover {
    background: #FF788D;
    border-color: #FF788D;
    color: #351B20;
}


/* =========================================
   6. FOOTER BOTTOM BAR
========================================= */

.sovereign-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(88%, 1400px);
    min-height: 75px;
    margin: 0 auto;
    padding: 18px 0;
    border-top: 1px solid rgba(22, 88, 35, 0.18);
}

.sovereign-footer-bottom p {
    margin: 0;
    color: #647267;
    font-family: "DM Sans", sans-serif;
    font-size: 0.76rem;
    line-height: 1.6;
}

.sovereign-footer-bottom-note {
    text-align: center;
}

.sovereign-back-to-top {
    flex-shrink: 0;
    color: #165823;
    font-family: "DM Sans", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sovereign-back-to-top:hover {
    color: #C74761;
}


/* =========================================
   7. TABLET RESPONSIVENESS
========================================= */

@media (max-width: 1024px) {

    .sovereign-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 30px;
        width: 90%;
    }

    .sovereign-footer-bottom {
        width: 90%;
    }

}


/* =========================================
   8. MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 600px) {

    .sovereign-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 20px;
        width: 90%;
        padding: 48px 0 38px;
    }

    .sovereign-footer-brand {
        grid-column: 1 / -1;
    }

    .sovereign-footer-brand>p {
        max-width: 100%;
    }

    .sovereign-footer-column h3 {
        font-size: 1.12rem;
    }

    .sovereign-footer-column li a,
    .sovereign-footer-contact>p {
        font-size: 0.79rem;
    }

    .sovereign-footer-bottom {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px;
        width: 90%;
        padding: 18px 0;
    }

    .sovereign-footer-bottom-note {
        display: none;
    }

}


/* =========================================
   9. VERY SMALL MOBILE
========================================= */

@media (max-width: 360px) {

    .sovereign-footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sovereign-footer-brand {
        grid-column: auto;
    }

    .sovereign-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* =========================================
   10. REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .sovereign-footer-column li a,
    .sovereign-footer-contact>p a,
    .sovereign-footer-contact-btn,
    .sovereign-back-to-top {
        transition: none;
    }

}