/* ========================================
   FOOTER.CSS - premium footer (self-contained, ft-* classes)
   ======================================== */
.ft {
    --ft-bg: var(--color-dark-bg, #14201F);
    --ft-clay: #C9A28F;
    --ft-teal: var(--color-primary, #2F5D5A);
    --ft-text: rgba(255, 255, 255, .72);
    --ft-line: rgba(255, 255, 255, .12);
    --ft-ease: cubic-bezier(.22, 1, .36, 1);
    position: relative;
    margin-top: clamp(48px, 7vw, 96px);
    color: var(--ft-text);
    font-size: 15px;
    line-height: 1.7;
    background:
        radial-gradient(900px 420px at 8% -10%, rgba(47, 93, 90, .45), transparent 70%),
        radial-gradient(700px 380px at 95% 110%, rgba(201, 162, 143, .12), transparent 70%),
        var(--ft-bg);
    overflow: hidden;
}

/* upar ki patli gradient line */
.ft::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ft-teal), var(--ft-clay) 50%, var(--ft-teal));
}

.ft__wrap {
    position: relative;
    max-width: var(--container-2xl, 1440px);
    margin: 0 auto;
    padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 48px) 0;
}

.ft :where(a) {
    color: inherit;
    text-decoration: none;
}

/* :where = specificity 0, taaki neeche ki classes jeetein */

/* ---- scroll reveal (JS ho tabhi hide) ---- */
.ft-js .ft [data-ft] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .9s var(--ft-ease), transform .9s var(--ft-ease);
}

.ft-js .ft [data-ft].in {
    opacity: 1;
    transform: none;
}

/* ---- grid ---- */
.ft__grid {
    display: grid;
    grid-template-columns: 1.05fr 1.75fr .8fr;
    gap: clamp(32px, 5vw, 80px);
    padding-bottom: clamp(40px, 5vw, 64px);
}

.ft__h {
    position: relative;
    margin: 0 0 28px;
    padding-bottom: 14px;
    color: #fff;
    font-family: var(--font-heading, Georgia, serif);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: .01em;
}

.ft__h::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    background: var(--ft-clay);
    transition: width .5s var(--ft-ease);
}

.ft__col:hover .ft__h::after {
    width: 64px;
}

/* ---- contact ---- */
.ft__address {
    font-style: normal;
    margin: 0;
}

.ft__person {
    margin: 0 0 20px;
    color: var(--ft-clay);
    font-family: var(--font-heading, Georgia, serif);
    font-size: 21px;
    line-height: 1.3;
}

.ft__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.ft__list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.ft__ico {
    flex: none;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--ft-line);
    color: var(--ft-clay);
    background: rgba(255, 255, 255, .03);
    transition: background .35s, color .35s, border-color .35s;
}

.ft__ico svg {
    width: 16px;
    height: 16px;
}

.ft__list li:hover .ft__ico {
    background: var(--ft-clay);
    color: var(--ft-bg);
    border-color: var(--ft-clay);
}

.ft__list li>a,
.ft__list li>span:last-child {
    padding-top: 6px;
    overflow-wrap: anywhere;
}

.ft__list a {
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size .45s var(--ft-ease), color .3s;
}

.ft__list a:hover {
    color: #fff;
    background-size: 100% 1px;
}

/* ---- quick links ---- */
.ft__links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 clamp(16px, 2.4vw, 36px);
}

.ft__links-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ft__links-grid li {
    border-bottom: 1px solid var(--ft-line);
}

.ft__links-grid a {
    position: relative;
    display: block;
    padding: 11px 0 11px 0;
    line-height: 1.4;
    transition: color .3s, padding-left .45s var(--ft-ease);
}

.ft__links-grid a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 1px;
    background: var(--ft-clay);
    transition: width .45s var(--ft-ease);
}

.ft__links-grid a:hover {
    color: #fff;
    padding-left: 22px;
}

.ft__links-grid a:hover::before {
    width: 14px;
}

/* ---- social ---- */
.ft__socials {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ft__socials a {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--ft-line);
    background: rgba(255, 255, 255, .03);
    color: #fff;
    transition: transform .45s var(--ft-ease), background .3s, color .3s, border-color .3s, box-shadow .45s;
}

.ft__socials a:hover {
    transform: translateY(-5px);
    background: var(--ft-clay);
    border-color: var(--ft-clay);
    color: var(--ft-bg);
    box-shadow: 0 14px 26px -10px rgba(201, 162, 143, .6);
}

.ft__mail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    font-weight: 500;
    transition: background .3s, color .3s, border-color .3s;
}

.ft__mail:hover {
    background: #fff;
    color: var(--ft-bg);
    border-color: #fff;
}

/* ---- map card ---- */
.ft__map {
    position: relative;
    height: clamp(300px, 34vw, 440px);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--ft-line);
    background: #1b2a29;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}

.ft__map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    pointer-events: none;
    /* click karne par hi chalega (scroll na atke) */
    filter: grayscale(.45) contrast(1.05) saturate(.85);
    transition: filter .8s var(--ft-ease);
}

.ft__map:hover iframe,
.ft__map.is-active iframe {
    filter: none;
}

.ft__map.is-active iframe {
    pointer-events: auto;
}

.ft__map:not(.is-active) {
    cursor: pointer;
}

.ft__pin {
    position: absolute;
    left: clamp(14px, 2vw, 28px);
    bottom: clamp(14px, 2vw, 28px);
    z-index: 2;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    max-width: min(420px, calc(100% - 28px));
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(247, 243, 238, .96);
    color: var(--ft-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .55);
    line-height: 1.5;
    font-size: 14px;
    transition: transform .5s var(--ft-ease), box-shadow .5s;
}

.ft__pin:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 48px -18px rgba(0, 0, 0, .6);
}

.ft__pin-ico {
    flex: none;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ft-teal);
    color: #fff;
}

.ft__pin-ico svg {
    width: 18px;
    height: 18px;
}

.ft__pin-txt {
    color: #3d4a49;
}

.ft__pin-txt strong {
    color: var(--ft-bg);
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-heading, Georgia, serif);
    font-size: 16px;
    font-weight: 600;
}

.ft.is-map-active .ft__pin {
    opacity: .0;
    pointer-events: none;
}

/* ---- bottom bar ---- */
.ft__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: clamp(32px, 4vw, 52px);
    padding: 24px 0 28px;
    border-top: 1px solid var(--ft-line);
    font-size: 14px;
}

.ft__bar p {
    margin: 0;
}

.ft__credit {
    margin-left: auto !important;
    color: rgba(255, 255, 255, .5);
}

.ft__totop {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .28);
    background: transparent;
    color: #fff;
    transition: transform .45s var(--ft-ease), background .3s, color .3s;
}

.ft__totop svg {
    width: 18px;
    height: 18px;
}

.ft__totop:hover {
    background: var(--ft-clay);
    border-color: var(--ft-clay);
    color: var(--ft-bg);
    transform: translateY(-4px);
}

.ft a:focus-visible,
.ft button:focus-visible {
    outline: 2px solid var(--ft-clay);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---- responsive ---- */
@media (max-width: 1180px) {
    .ft__grid {
        grid-template-columns: 1fr 1fr;
    }

    .ft__links {
        grid-column: 1 / -1;
        order: 3;
    }
}

@media (max-width: 760px) {
    .ft__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ft__links-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ft__links-grid ul:last-child {
        grid-column: 1 / -1;
    }

    .ft__pin {
        position: relative;
        left: auto;
        bottom: auto;
        max-width: none;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        z-index: 2;
    }

    .ft__map {
        display: flex;
        flex-direction: column-reverse;
        height: auto;
    }

    .ft__map iframe {
        position: relative;
        height: 300px;
        inset: auto;
    }

    .ft__bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ft__credit {
        margin-left: 0 !important;
    }

    .ft__totop {
        position: absolute;
        right: 20px;
        bottom: 26px;
    }

    .ft__wrap {
        padding-bottom: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ft-js .ft [data-ft] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .ft *,
    .ft *::before {
        transition: none !important;
    }
}


.float-whatsapp {
    display: none !important;
}

/* ========================================
   Floating Call + WhatsApp (bottom-right)
   NOTE: same rules are also inlined in inc/footer.php (#contact-fab-css)
   on purpose, so the buttons stay styled even if a cached older HTML/CSS is served.
   If you edit one, edit the other.
   ======================================== */
/* Floating Call + WhatsApp: styles live next to the markup so they work on every page,
   even if a cached/older footer.css is loaded. Selectors are scoped under .contact-fab. */
.contact-fab {
    position: fixed;
    right: calc(20px + env(safe-area-inset-right, 0px));
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    z-index: 350;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

.contact-fab.is-lifted {
    transform: translateY(-74px);
}

.contact-fab .wa-fab {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    transform: none;
    animation: cfab-in .8s cubic-bezier(.22, 1, .36, 1) 1s backwards;
}

.contact-fab .wa-fab:hover,
.contact-fab .wa-fab:focus-visible,
.contact-fab .wa-fab:visited {
    color: #fff;
}

.contact-fab .wa-fab__btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    background: #25D366;
    box-shadow: 0 10px 26px -6px rgba(37, 211, 102, .65), 0 4px 10px rgba(0, 0, 0, .18);
    transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s, background .3s;
}

.contact-fab .wa-fab__btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    z-index: -1;
    animation: cfab-pulse 2.6s ease-out infinite;
}

.contact-fab .wa-fab:hover .wa-fab__btn,
.contact-fab .wa-fab:focus-visible .wa-fab__btn {
    transform: scale(1.08);
    background: #1ebe5b;
}

.contact-fab .wa-fab--call .wa-fab__btn,
.contact-fab .wa-fab--call .wa-fab__btn::before {
    background: #2F5D5A;
}

.contact-fab .wa-fab--call .wa-fab__btn {
    box-shadow: 0 10px 26px -6px rgba(47, 93, 90, .6), 0 4px 10px rgba(0, 0, 0, .18);
}

.contact-fab .wa-fab--call:hover .wa-fab__btn,
.contact-fab .wa-fab--call:focus-visible .wa-fab__btn {
    background: #264d4a;
}

.contact-fab .wa-fab:focus-visible {
    outline: none;
}

.contact-fab .wa-fab:focus-visible .wa-fab__btn {
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px #25D366;
}

.contact-fab .wa-fab--call:focus-visible .wa-fab__btn {
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px #2F5D5A;
}

/* label appears on hover (mouse devices only) */
.contact-fab .wa-fab__label {
    padding: 10px 16px;
    border-radius: 999px;
    background: #14201F;
    color: #fff;
    font: 600 14px/1 var(--font-body, system-ui, sans-serif);
    letter-spacing: .02em;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: opacity .35s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5);
}

@media (hover: hover) and (pointer: fine) {

    .contact-fab .wa-fab:hover .wa-fab__label,
    .contact-fab .wa-fab:focus-visible .wa-fab__label {
        opacity: 1;
        transform: none;
    }
}

@keyframes cfab-in {
    from {
        opacity: 0;
        transform: translateY(24px) scale(.8);
    }
}

@keyframes cfab-pulse {
    0% {
        transform: scale(1);
        opacity: .55;
    }

    70%,
    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

@media (max-width: 760px) {
    .contact-fab {
        right: calc(14px + env(safe-area-inset-right, 0px));
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        gap: 10px;
    }

    .contact-fab .wa-fab__btn {
        width: 56px;
        height: 56px;
    }

    .contact-fab .wa-fab__label {
        display: none;
    }

    .contact-fab.is-lifted {
        transform: translateY(-70px);
    }
}

@media print {
    .contact-fab {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .contact-fab,
    .contact-fab .wa-fab {
        animation: none;
        transition: none;
    }

    .contact-fab .wa-fab__btn::before {
        animation: none;
        display: none;
    }
}