/* ===================================================
   PREMIUM FOOTER STYLES
   =================================================== */

:root {
    --ft-bg:        #0d1f16;
    --ft-bg-card:   #132a1e;
    --ft-accent:    #f15d30;
    --ft-accent-2:  #20c997;
    --ft-text:      rgba(255,255,255,0.72);
    --ft-text-dim:  rgba(255,255,255,0.40);
    --ft-border:    rgba(255,255,255,0.07);
    --ft-white:     #ffffff;
    --ft-font:      'Poppins', sans-serif;
    --ft-transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
}

/* ── Wave top divider ─────────────────────────── */
.lm-footer-wave {
    display: block;
    line-height: 0;
    background: #fff;   /* matches the last section above */
}
.lm-footer-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* ── Main footer shell ───────────────────────── */
.lm-footer {
    background: var(--ft-bg);
    font-family: var(--ft-font);
    color: var(--ft-text);
    position: relative;
    overflow: hidden;
}

/* Subtle background texture dots */
.lm-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(241,93,48,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

/* ── Top section ─────────────────────────────── */
.lm-footer__top {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px 48px;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: 40px;
}

/* ── Brand column ────────────────────────────── */
.lm-footer__brand img {
    height: 68px;
    width: auto;
    object-fit: contain;
    margin-bottom: 18px;
    filter: drop-shadow(0 2px 12px rgba(241,93,48,0.25));
}
.lm-footer__brand p {
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--ft-text);
    margin-bottom: 22px;
}

/* Social icons */
.lm-footer__socials {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.lm-footer__socials li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--ft-border);
    background: var(--ft-bg-card);
    color: var(--ft-text);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--ft-transition);
}
.lm-footer__socials li a:hover {
    background: var(--ft-accent);
    border-color: var(--ft-accent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(241,93,48,0.38);
}

/* ── Widget columns ──────────────────────────── */
.lm-footer__widget h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ft-white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.lm-footer__widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--ft-accent);
    border-radius: 2px;
}

/* Nav links */
.lm-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.lm-footer__links li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-size: 0.875rem;
    color: var(--ft-text);
    text-decoration: none;
    transition: var(--ft-transition);
    position: relative;
}
.lm-footer__links li a::before {
    content: '›';
    color: var(--ft-accent);
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 0.2s;
}
.lm-footer__links li a:hover {
    color: var(--ft-white);
    padding-left: 4px;
}
.lm-footer__links li a:hover::before {
    transform: translateX(3px);
}

/* Contact info list */
.lm-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.lm-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.lm-footer__contact li .lm-ft-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--ft-bg-card);
    border: 1px solid var(--ft-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ft-accent);
    font-size: 0.82rem;
    transition: var(--ft-transition);
}
.lm-footer__contact li:hover .lm-ft-icon {
    background: var(--ft-accent);
    color: #fff;
    border-color: var(--ft-accent);
}
.lm-footer__contact li .lm-ft-info {
    font-size: 0.845rem;
    color: var(--ft-text);
    line-height: 1.6;
}
.lm-footer__contact li .lm-ft-info a {
    color: var(--ft-text);
    text-decoration: none;
    transition: color 0.2s;
}
.lm-footer__contact li .lm-ft-info a:hover {
    color: var(--ft-accent);
}
.lm-footer__contact li .lm-ft-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ft-text-dim);
    margin-bottom: 1px;
}

/* ── Divider ─────────────────────────────────── */
.lm-footer__divider {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    border-top: 1px solid var(--ft-border);
}

/* ── Bottom bar ──────────────────────────────── */
.lm-footer__bottom {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.lm-footer__copy {
    font-size: 0.8rem;
    color: var(--ft-text-dim);
}
.lm-footer__copy a {
    color: var(--ft-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.lm-footer__copy a:hover {
    color: #fff;
}
.lm-footer__copy i {
    color: #e05252;
    margin: 0 2px;
}
.lm-footer__back-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ft-text-dim);
    text-decoration: none;
    transition: var(--ft-transition);
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}
.lm-footer__back-top:hover {
    color: var(--ft-accent);
}
.lm-footer__back-top span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: var(--ft-bg-card);
    border: 1px solid var(--ft-border);
    transition: var(--ft-transition);
}
.lm-footer__back-top:hover span {
    background: var(--ft-accent);
    border-color: var(--ft-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
    .lm-footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}
@media (max-width: 600px) {
    .lm-footer__top {
        grid-template-columns: 1fr;
        padding: 48px 20px 36px;
        gap: 28px;
    }
    .lm-footer__bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .lm-footer-wave svg {
        height: 36px;
    }
}

/* ── BODY padding so mobile nav doesn't cover content ── */
@media (max-width: 767px) {
    body { padding-bottom: 70px; }
}

/* =====================================================
   FLOATING ACTION BUTTONS  (desktop + tablet ≥ 768px)
   ===================================================== */
.lm-fab-stack {
    position: fixed;
    right: 20px;
    bottom: 32px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    /* always visible — individual buttons control their own state */
}

/* Back-to-top: hidden by default, shown after scroll */
.lm-fab--top {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s, box-shadow 0.28s cubic-bezier(0.4,0,0.2,1);
}
.lm-fab--top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.lm-fab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-size: 1.15rem;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(0,0,0,0.22);
    transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
    overflow: visible;
}

/* Tooltip label on hover */
.lm-fab__label {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: rgba(20,20,20,0.88);
    color: #fff;
    font-size: 0.72rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
}
.lm-fab:hover .lm-fab__label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Back to top base style */
.lm-fab--top {
    background: linear-gradient(135deg, #1a4731, #246642);
}

/* Back to top (hover — only when visible) */
.lm-fab--top.visible:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 28px rgba(26,71,49,0.45);
}

/* WhatsApp */
.lm-fab--whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}
.lm-fab--whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(37,211,102,0.45);
}

/* Enquiry */
.lm-fab--enquiry {
    background: linear-gradient(135deg, #f15d30, #d44a20);
}
.lm-fab--enquiry:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(241,93,48,0.45);
}

/* Hide desktop FAB stack on mobile */
@media (max-width: 767px) {
    .lm-fab-stack { display: none; }
}

/* ── Mobile floating Back-to-Top button ── */
.lm-mob-top {
    position: fixed;
    right: 16px;
    bottom: 80px;          /* sits just above the 62px bottom nav */
    z-index: 1300;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #1a4731, #246642);
    color: #fff;
    font-size: 1rem;
    display: none;         /* hidden by default — shown only on mobile via media query + JS */
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}
.lm-mob-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}
@media (max-width: 767px) {
    .lm-mob-top { display: flex; }
}

/* =====================================================
   MOBILE BOTTOM NAV  (≤ 767px only)
   ===================================================== */
.lm-mobile-nav {
    display: none;              /* shown only on mobile via media query */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    height: 62px;
    background: #fff;
    border-top: 1px solid #e8e8e8;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.10);
    flex-direction: row;
}
@media (max-width: 767px) {
    .lm-mobile-nav { display: flex; }
}

.lm-mobile-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 0.68rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: opacity 0.2s;
}
.lm-mobile-nav__item i {
    font-size: 1.3rem;
}
.lm-mobile-nav__item:active {
    opacity: 0.75;
}

/* WhatsApp item */
.lm-mobile-nav__item--whatsapp {
    color: #128c7e;
    border-right: 1px solid #f0f0f0;
}
.lm-mobile-nav__item--whatsapp i {
    color: #fff;
}

/* Enquiry item */
.lm-mobile-nav__item--enquiry {
    color: #f15d30;
    background: none;
    border: none;
    cursor: pointer;
}
.lm-mobile-nav__item--enquiry i {
    color: #fff;
}
