/* =====================================================
   FOOTER
   Premium Gauri Krishna Homes Footer
   COMPACT VERSION
   ===================================================== */

.site-footer {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #0b1d33 !important;
    color: #f5f2ec !important;

    border: 0 !important;
}


/* =====================================================
   FOOTER CONTAINER
   ===================================================== */

.site-footer .section-inner {
    width: calc(100% - 132px) !important;
    max-width: 1436px !important;

    margin: 0 auto !important;
}


/* =====================================================
   MAIN FOOTER GRID
   ===================================================== */

.site-footer .footer-grid {
    display: grid !important;

    grid-template-columns:
        minmax(250px, 1.25fr)
        minmax(150px, 0.85fr)
        minmax(150px, 0.85fr)
        minmax(260px, 1fr) !important;

    column-gap: 70px !important;
    row-gap: 0 !important;

    align-items: start !important;

    padding-top: 50px !important;
    padding-bottom: 40px !important;
}


/* =====================================================
   FOOTER COLUMNS
   ===================================================== */

.site-footer .footer-column {
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =====================================================
   BRAND
   ===================================================== */

.site-footer .footer-brand {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer .footer-brand-main {
    display: block !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: 27px !important;
    line-height: 0.95 !important;

    font-weight: 700 !important;

    letter-spacing: 0.035em !important;

    color: #f5f2ec !important;
}

.site-footer .footer-brand-sub {
    display: block !important;

    margin-top: 4px !important;

    font-family:
        "Inter",
        sans-serif !important;

    font-size: 11px !important;
    line-height: 1 !important;

    font-weight: 600 !important;

    letter-spacing: 0.28em !important;

    color: #b08b4f !important;
}


/* =====================================================
   PARTNER TEXT
   REMOVED
   ===================================================== */

/*
   IMPORTANT:
   The old "CHANNEL PARTNER OF SUNCITY"
   text is intentionally not displayed.

   If footer.php still contains .footer-partner,
   this CSS hides it.
*/

.site-footer .footer-partner {
    display: none !important;
}


/* =====================================================
   DESCRIPTION
   ===================================================== */

.site-footer .footer-description {
    margin: 25px 0 0 !important;

    max-width: 300px !important;

    font-family:
        "Inter",
        sans-serif !important;

    font-size: 14px !important;
    line-height: 1.65 !important;

    font-weight: 400 !important;

    letter-spacing: 0 !important;

    color: rgba(255, 255, 255, 0.84) !important;
}


/* =====================================================
   FOOTER HEADINGS
   ===================================================== */

.site-footer .footer-heading {
    margin: 0 0 16px !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: 25px !important;
    line-height: 1.2 !important;

    font-weight: 500 !important;

    letter-spacing: -0.015em !important;

    color: #c9a66b !important;
}


/* =====================================================
   FOOTER LINKS
   ===================================================== */

.site-footer .footer-links {
    list-style: none !important;

    margin: 0 !important;
    padding: 0 !important;
}

.site-footer .footer-links li {
    margin: 0 !important;
    padding: 0 !important;
}

.site-footer .footer-links li + li {
    margin-top: 11px !important;
}

.site-footer .footer-links a {
    display: inline-block !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "Inter",
        sans-serif !important;

    font-size: 14px !important;
    line-height: 1.4 !important;

    font-weight: 400 !important;

    letter-spacing: 0 !important;

    text-decoration: none !important;

    color: #ffffff !important;

    transition:
        color 180ms ease,
        transform 180ms ease !important;
}

.site-footer .footer-links a:hover {
    color: #c9a66b !important;

    transform: translateX(2px);
}


/* =====================================================
   CONTACT
   ===================================================== */

.site-footer .footer-contact {
    min-width: 0 !important;

    overflow: visible !important;
}

.site-footer .footer-contact-details {
    margin: 0 !important;
    padding: 0 !important;
}

.site-footer .footer-contact-line {
    display: block !important;

    margin: 0 0 12px !important;
    padding: 0 !important;
}

.site-footer .footer-contact-line:last-child {
    margin-bottom: 0 !important;
}

.site-footer .footer-contact-line a {
    display: inline-block !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "Inter",
        sans-serif !important;

    font-size: 14px !important;
    line-height: 1.5 !important;

    font-weight: 500 !important;

    color: #ffffff !important;

    text-decoration: none !important;

    white-space: nowrap !important;

    transition:
        color 180ms ease,
        opacity 180ms ease !important;
}

.site-footer .footer-contact-line a:hover {
    color: #c9a66b !important;
}


/* =====================================================
   ADDRESS
   ===================================================== */

.site-footer .footer-address {
    max-width: 300px !important;

    margin: 20px 0 0 !important;
    padding: 0 !important;

    font-family:
        "Inter",
        sans-serif !important;

    font-size: 14px !important;
    line-height: 1.55 !important;

    font-weight: 400 !important;

    color: rgba(255, 255, 255, 0.84) !important;
}


/* =====================================================
   SOCIAL ICONS
   ===================================================== */

.site-footer .footer-social {
    display: flex !important;

    align-items: center !important;

    gap: 20px !important;

    margin: 24px 0 0 !important;
    padding: 0 !important;
}

.site-footer .footer-social a {
    width: 20px !important;
    height: 20px !important;

    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #c9a66b !important;

    text-decoration: none !important;

    transition:
        color 180ms ease,
        transform 180ms ease !important;
}

.site-footer .footer-social a:hover {
    color: #ffffff !important;

    transform: translateY(-2px);
}

.site-footer .footer-social svg {
    width: 18px !important;
    height: 18px !important;

    display: block !important;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-footer .footer-social svg .social-fill {
    fill: currentColor;

    stroke: none;
}

.site-footer .footer-social a:first-child svg,
.site-footer .footer-social a:last-child svg {
    fill: currentColor;

    stroke: none;
}


/* =====================================================
   FOOTER BOTTOM
   ===================================================== */

.site-footer > .section-inner.footer-bottom {
    width: calc(100% - 132px) !important;

    max-width: 1436px !important;

    margin: 0 auto !important;

    min-height: 0 !important;

    padding: 27px 0 26px !important;

    border-top:
        1px solid rgba(201, 166, 107, 0.45) !important;

    display: flex !important;

    align-items: center !important;

    justify-content: space-between !important;

    gap: 30px !important;
}


/* =====================================================
   COPYRIGHT
   ===================================================== */

.site-footer .footer-bottom > p {
    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "Inter",
        sans-serif !important;

    font-size: 14px !important;
    line-height: 1.4 !important;

    font-weight: 400 !important;

    color: rgba(255, 255, 255, 0.82) !important;
}


/* =====================================================
   LEGAL LINKS
   ===================================================== */

.site-footer .footer-legal {
    display: flex !important;

    align-items: center !important;

    justify-content: flex-end !important;

    gap: 26px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.site-footer .footer-legal a {
    display: inline-block !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "Inter",
        sans-serif !important;

    font-size: 14px !important;
    line-height: 1.4 !important;

    font-weight: 400 !important;

    color: rgba(255, 255, 255, 0.82) !important;

    text-decoration: none !important;

    white-space: nowrap !important;

    transition:
        color 180ms ease !important;
}

.site-footer .footer-legal a:hover {
    color: #c9a66b !important;
}


/* =====================================================
   FORCE COMPACT FOOTER
   Prevents existing CSS from stretching footer
   ===================================================== */

.site-footer,
.site-footer *,
.site-footer .footer-grid,
.site-footer .footer-column,
.site-footer .footer-about,
.site-footer .footer-contact,
.site-footer .footer-links,
.site-footer .footer-contact-details,
.site-footer .footer-social,
.site-footer .footer-bottom {
    box-sizing: border-box;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 1100px) {

    .site-footer .section-inner {
        width: calc(100% - 64px) !important;
    }

    .site-footer .footer-grid {
        grid-template-columns:
            1.2fr
            0.9fr
            0.9fr
            1fr !important;

        column-gap: 35px !important;
        row-gap: 0 !important;

        padding-top: 45px !important;
        padding-bottom: 35px !important;
    }

    .site-footer .footer-brand-main {
        font-size: 24px !important;
    }

    .site-footer .footer-heading {
        font-size: 22px !important;
    }

    .site-footer > .section-inner.footer-bottom {
        width: calc(100% - 64px) !important;
    }
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 767px) {

    .site-footer .section-inner {
        width: calc(100% - 44px) !important;
    }

    .site-footer .footer-grid {
        display: grid !important;

        grid-template-columns: 1fr 1fr !important;

        column-gap: 30px !important;
        row-gap: 38px !important;

        padding-top: 42px !important;
        padding-bottom: 35px !important;
    }

    .site-footer .footer-brand-main {
        font-size: 22px !important;
    }

    .site-footer .footer-description {
        max-width: 240px !important;

        margin-top: 20px !important;

        font-size: 13px !important;
    }

    .site-footer .footer-heading {
        margin-bottom: 13px !important;

        font-size: 21px !important;
    }

    .site-footer .footer-links li + li {
        margin-top: 9px !important;
    }

    .site-footer .footer-links a {
        font-size: 13px !important;
    }

    .site-footer .footer-contact-line a {
        font-size: 12px !important;
    }

    .site-footer .footer-address {
        max-width: 260px !important;

        margin-top: 18px !important;

        font-size: 12px !important;

        line-height: 1.6 !important;
    }

    .site-footer .footer-social {
        margin-top: 20px !important;

        gap: 16px !important;
    }

    .site-footer > .section-inner.footer-bottom {
        width: calc(100% - 44px) !important;

        min-height: 0 !important;

        padding: 20px 0 22px !important;

        flex-direction: column !important;

        align-items: flex-start !important;

        justify-content: flex-start !important;

        gap: 15px !important;
    }

    .site-footer .footer-bottom > p {
        font-size: 11px !important;
    }

    .site-footer .footer-legal {
        width: 100% !important;

        justify-content: flex-start !important;

        flex-wrap: wrap !important;

        gap: 8px 18px !important;
    }

    .site-footer .footer-legal a {
        font-size: 11px !important;
    }

    .site-footer .footer-desktop-break {
        display: none !important;
    }
}


/* =====================================================
   VERY SMALL MOBILE
   ===================================================== */

@media (max-width: 400px) {

    .site-footer .section-inner {
        width: calc(100% - 36px) !important;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr !important;

        row-gap: 30px !important;

        padding-top: 36px !important;
        padding-bottom: 30px !important;
    }

    .site-footer > .section-inner.footer-bottom {
        width: calc(100% - 36px) !important;
    }

    .site-footer .footer-heading {
        font-size: 21px !important;
    }

    .site-footer .footer-links a,
    .site-footer .footer-contact-line a {
        font-size: 13px !important;
    }
}

/* ============================================================
   FOOTER CONTACT VISIBILITY
============================================================ */

.site-footer .footer-contact a.footer-contact-link,
.site-footer .footer-contact a.footer-contact-link:visited,
.site-footer .footer-contact a.footer-contact-link:hover,
.site-footer .footer-contact a.footer-contact-link:focus {

    color: #ffffff;
    text-decoration: none;
}


.site-footer .footer-contact a.footer-contact-link:hover,
.site-footer .footer-contact a.footer-contact-link:focus {

    opacity: 0.88;
}

/* =====================================================
   MOBILE DOWNLOAD BROCHURE CTA
===================================================== */

.mobile-brochure-cta {
    display: none;

    position: fixed;

    left: 1rem;
    bottom: 1rem;

    z-index: 9999;

    min-height: 3.15rem;

    align-items: center;
    justify-content: center;
    gap: 0.55rem;

    padding: 0.75rem 1.15rem;

    /* Homepage-style golden colour */
    background: var(--color-gold);
    color: var(--color-navy-text);

    border: 1px solid rgba(176, 139, 79, 0.45);
    border-radius: 999px;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.20);

    text-decoration: none;

    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;

    letter-spacing: 0.04em;
    white-space: nowrap;

    transition:
        background var(--duration) var(--ease),
        color var(--duration) var(--ease),
        transform var(--duration) var(--ease),
        box-shadow var(--duration) var(--ease);
}


/* =====================================================
   DOWNLOAD ICON
===================================================== */

.mobile-brochure-icon {
    width: 0.95rem;
    height: 0.95rem;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;

    flex-shrink: 0;
}


/* =====================================================
   HOVER / FOCUS
===================================================== */

.mobile-brochure-cta:hover,
.mobile-brochure-cta:focus-visible {
    background: var(--color-gold-dark, #9a763f);
    color: var(--color-ivory);

    transform: translateY(-2px);

    box-shadow:
        0 11px 28px rgba(0, 0, 0, 0.24);
}


/* =====================================================
   ACTIVE
===================================================== */

.mobile-brochure-cta:active {
    transform: translateY(0);

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.18);
}


/* =====================================================
   MOBILE ONLY
===================================================== */

@media (max-width: 63.99rem) {

    .mobile-brochure-cta {
        display: inline-flex;
    }

    /*
       Prevent the fixed CTA from covering
       the very bottom of page content.
    */

    body {
        padding-bottom: 5rem;
    }
}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 25rem) {

    .mobile-brochure-cta {
        left: 0.75rem;
        bottom: 0.75rem;

        min-height: 2.95rem;

        padding: 0.7rem 1rem;

        font-size: 0.74rem;
    }

    .mobile-brochure-icon {
        width: 0.9rem;
        height: 0.9rem;
    }
}