/* =========================================================
   RAHEJA PROPERTIES — GLOBAL PREMIUM FOOTER
   Shared across Home, Properties, Projects, About,
   Services and Contact pages
========================================================= */

.site-footer {
    position: relative;
    overflow: hidden;
    background: #26231f;
    color: #fff;
}

.footer-container {
    width: min(calc(100% - 110px), 1420px);
    margin: 0 auto;
    padding: 50px 0 0;
}

/* =========================================================
   TOP AREA
========================================================= */

.footer-top {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(300px, 1.35fr)
        minmax(135px, .48fr)
        minmax(195px, .68fr)
        minmax(165px, .52fr);
    gap: clamp(30px, 4vw, 58px);
    align-items: start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-brand {
    max-width: 430px;
}

/* =========================================================
   FOOTER LOGO — WHITE BACKGROUND + CLEAR LOGO
========================================================= */
.footer-logo {
    width: 205px;
    height: 115px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 28px;
}

.footer-logo img {
    width: 135px;
    height: auto;
    display: block;
    max-width: none;
}

.footer-brand > p {
    max-width: 410px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 15px;
    line-height: 1.72;
}

.footer-enquire {
    width: fit-content;
    margin-top: 21px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.footer-enquire strong {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(255,255,255,.30);
    border-radius: 50%;
    font-size: 15px;
    font-weight: 400;
    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease;
}

.footer-enquire:hover strong {
    background: var(--orange, #f47716);
    border-color: var(--orange, #f47716);
    transform: rotate(45deg);
}

/* =========================================================
   COLUMNS
========================================================= */

.footer-column {
    min-width: 0;
}

.footer-column-title {
    display: block;
    margin-bottom: 18px;
    color: var(--orange, #f47716);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 2px;
}

.footer-column nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.footer-column nav a {
    position: relative;
    display: inline-block;
    color: rgba(255,255,255,.73);
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition:
        color .3s ease,
        transform .3s ease;
}

.footer-column nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: var(--orange, #f47716);
    transition: width .3s ease;
}

.footer-column nav a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-column nav a:hover::after {
    width: 22px;
}

.footer-contact p {
    margin: 0 0 16px;
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.65;
}

.footer-contact > a {
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255,255,255,.30);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition:
        color .3s ease,
        border-color .3s ease;
}

.footer-contact > a:hover {
    color: var(--orange, #f47716);
    border-color: var(--orange, #f47716);
}

/* =========================================================
   LARGE BRAND WORD
========================================================= */

.footer-word {
    position: relative;
    height: 76px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: rgba(255,255,255,.032);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(72px, 8.5vw, 124px);
    line-height: .72;
    font-weight: 600;
    letter-spacing: -5px;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
}

.footer-word::after {
    content: "";
    position: absolute;
    right: 1%;
    top: 50%;
    width: 70px;
    height: 1px;
    background: var(--orange, #f47716);
}

/* =========================================================
   BOTTOM BAR
========================================================= */

.footer-bottom {
    position: relative;
    z-index: 2;
    min-height: 62px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
    border-top: 1px solid rgba(255,255,255,.10);
}

.footer-bottom > p {
    margin: 0;
    color: rgba(255,255,255,.62);
    font-size: 11px;
    line-height: 1.5;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,.64);
    font-size: 11px;
    text-decoration: none;
    transition: color .3s ease;
}

.footer-bottom-links a:hover {
    color: #fff;
}

.footer-bottom-links > span {
    width: 4px;
    height: 4px;
    display: block;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--orange, #f47716);
}

.footer-back-top {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.footer-back-top strong {
    width: 33px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease;
}

.footer-back-top:hover strong {
    background: var(--orange, #f47716);
    border-color: var(--orange, #f47716);
    transform: translateY(-4px);
}

/* =========================================================
   DECORATION
========================================================= */

.site-footer::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -170px;
    top: -175px;
    border: 1px solid rgba(244,119,22,.11);
    border-radius: 50%;
    pointer-events: none;
}

.site-footer::after {
    content: "";
    position: absolute;
    width: 185px;
    height: 185px;
    right: -72px;
    top: -95px;
    border: 1px solid rgba(244,119,22,.16);
    border-radius: 50%;
    pointer-events: none;
}

/* =========================================================
   RESPONSIVE — SMALL DESKTOP / TABLET LANDSCAPE

   Important:
   Keep all four footer columns in ONE row for as long
   as practical. This prevents the CONNECT column from
   creating the large empty second row.
========================================================= */

@media (max-width: 1180px) {
    .footer-container {
        width: calc(100% - 64px);
    }

    .footer-top {
        grid-template-columns:
            minmax(250px, 1.2fr)
            minmax(120px, .5fr)
            minmax(175px, .72fr)
            minmax(145px, .55fr);
        gap: 28px;
    }

    .footer-brand > p {
        font-size: 14px;
    }

    .footer-column nav a,
    .footer-contact p {
        font-size: 13px;
    }
}

/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 900px) {
    .footer-container {
        width: calc(100% - 44px);
        padding-top: 44px;
    }

    .footer-top {
        grid-template-columns: 1.25fr .75fr .9fr;
        gap: 36px 28px;
        padding-bottom: 36px;
    }

    .footer-brand {
        max-width: 380px;
    }

    .footer-contact {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 24px;
        padding-top: 24px;
        border-top: 1px solid rgba(255,255,255,.09);
    }

    .footer-contact .footer-column-title {
        margin: 0;
    }

    .footer-contact p {
        margin: 0;
    }

    .footer-contact > a {
        justify-self: end;
    }

    .footer-word {
        height: 68px;
        margin-top: 7px;
        font-size: clamp(64px, 13vw, 100px);
        letter-spacing: -4px;
    }

    .footer-bottom {
        min-height: auto;
        padding: 19px 0 22px;
        grid-template-columns: 1fr auto;
        gap: 15px 24px;
    }

    .footer-bottom-links {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
    }
}

/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 650px) {
    .footer-container {
        width: calc(100% - 32px);
        padding-top: 40px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
        padding-bottom: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 500px;
    }

.footer-logo {
    width: 160px;
    height: 92px;
    margin-bottom: 19px;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    transform: scale(2.8);
}

    .footer-brand > p {
        max-width: 440px;
        font-size: 14px;
    }

    .footer-enquire {
        margin-top: 19px;
    }

    .footer-contact {
        grid-column: 1 / -1;
        grid-template-columns: 1fr auto;
        gap: 8px 20px;
        padding-top: 22px;
    }

    .footer-contact .footer-column-title {
        grid-column: 1 / -1;
        margin-bottom: 7px;
    }

    .footer-contact > a {
        justify-self: end;
    }

    .footer-word {
        height: 58px;
        margin-top: 6px;
        font-size: clamp(58px, 17vw, 86px);
        line-height: .8;
        letter-spacing: -4px;
    }

    .footer-word::after {
        display: none;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 13px;
        padding: 18px 0 21px;
    }

    .footer-bottom-links {
        grid-column: auto;
        grid-row: auto;
        justify-content: flex-start;
    }

    .footer-back-top {
        justify-self: start;
    }
}

@media (max-width: 430px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-brand,
    .footer-contact {
        grid-column: auto;
    }

    .footer-contact {
        display: block;
        padding-top: 22px;
    }

    .footer-contact .footer-column-title {
        margin-bottom: 15px;
    }

    .footer-contact p {
        margin-bottom: 14px;
    }

    .footer-contact > a {
        justify-self: auto;
    }

    .footer-word {
        height: 52px;
        font-size: 56px;
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .site-footer *,
    .site-footer *::before,
    .site-footer *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
