/* ==========================================================================
   Egoire — Luxury Footer
   ──────────────────────────────────────────────────────────────────────────
   Palette:
     Gold       #b68e57
     Gold Light #c9a66c
     Dark       #111010
     Deep       #0c0c0c
     Muted      rgba(255,255,255,.45)
     Whisper    rgba(255,255,255,.08)
   Fonts:
     Headings   'Playfair Display', Georgia, serif
     Body       'Inter', -apple-system, sans-serif
   ========================================================================== */


/* ─── Foundation ─────────────────────────────────────────────────────── */

.lx-footer {
    position: relative;
    background:
        linear-gradient(180deg, #141313 0%, #0e0e0e 40%, #0a0a0a 100%);
    color: rgba(255, 255, 255, .65);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13.5px;
    line-height: 1.75;
    letter-spacing: .3px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle gold glow at top edge */
.lx-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(182, 142, 87, .25) 20%,
        rgba(182, 142, 87, .6) 50%,
        rgba(182, 142, 87, .25) 80%,
        transparent 100%
    );
}

/* Ambient glow behind top line */
.lx-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 80px;
    background: radial-gradient(
        ellipse at 50% 0%,
        rgba(182, 142, 87, .06) 0%,
        transparent 70%
    );
    pointer-events: none;
}

/* Shared container */
.lx-footer__container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}


/* ─── Top Section — Brand Identity ───────────────────────────────────── */

.lx-footer__top {
    padding: 80px 0 55px;
}

.lx-footer__top .lx-footer__container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

/* Logo */
.lx-footer__logo {
    display: inline-block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 6px;
    color: #fff;
    text-decoration: none;
    transition: color .3s ease;
}

.lx-footer__logo:hover {
    color: #b68e57;
}

/* Tagline */
.lx-footer__tagline {
    max-width: 340px;
    margin-top: 18px;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.85;
    letter-spacing: .4px;
    color: rgba(255, 255, 255, .4);
}

/* Social icons */
.lx-footer__social {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 6px;
}

.lx-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, .4);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    transition:
        color .3s ease,
        border-color .3s ease,
        transform .3s ease;
}

.lx-footer__social-link:hover {
    color: #b68e57;
    border-color: rgba(182, 142, 87, .35);
    transform: scale(1.08);
}


/* ─── Middle Section — Navigation Grid ───────────────────────────────── */

.lx-footer__middle {
    padding: 55px 0 65px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.lx-footer__nav {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.3fr;
    gap: 60px;
}

/* Column headings */
.lx-footer__heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 16px;
}

/* Subtle gold underline accent under heading */
.lx-footer__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 1px;
    background: #b68e57;
    opacity: .5;
}

/* Link lists */
.lx-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lx-footer__list a {
    position: relative;
    display: inline-block;
    color: rgba(255, 255, 255, .5);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: .3px;
    transition:
        color .3s ease,
        transform .3s ease;
}

/* Animated underline on hover */
.lx-footer__list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #b68e57;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .3s cubic-bezier(.25, .1, .25, 1);
}

.lx-footer__list a:hover {
    color: rgba(255, 255, 255, .9);
    transform: translateY(-1px);
}

.lx-footer__list a:hover::after {
    transform: scaleX(1);
}


/* ─── Newsletter Column ──────────────────────────────────────────────── */

.lx-footer__newsletter-desc {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, .4);
    margin-bottom: 24px;
    letter-spacing: .3px;
}

.lx-footer__input-wrap {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    transition: border-color .3s ease;
}

.lx-footer__input-wrap:focus-within {
    border-color: rgba(182, 142, 87, .5);
}

/* Soft glow on focus */
.lx-footer__input-wrap:focus-within::after {
    opacity: 1;
}

.lx-footer__input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 0;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: .5px;
    color: rgba(255, 255, 255, .8);
    outline: none;
}

.lx-footer__input::placeholder {
    color: rgba(255, 255, 255, .25);
    font-weight: 300;
    letter-spacing: .5px;
}

.lx-footer__submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 14px 2px 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b68e57;
    cursor: pointer;
    white-space: nowrap;
    transition:
        color .3s ease,
        transform .3s ease;
}

.lx-footer__submit:hover {
    color: #c9a66c;
    transform: translateX(2px);
}

.lx-footer__submit svg {
    transition: transform .3s ease;
}

.lx-footer__submit:hover svg {
    transform: translateX(3px);
}

/* Form message */
.lx-footer__form-msg {
    margin-top: 12px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .3px;
    min-height: 18px;
}

.lx-footer__form-msg.success {
    color: #7ec88b;
}

.lx-footer__form-msg.error {
    color: #d9776a;
}


/* ─── Bottom Section — Legal Bar ─────────────────────────────────────── */

.lx-footer__bottom {
    padding: 28px 0 36px;
    border-top: 1px solid rgba(182, 142, 87, .15);
}

.lx-footer__bottom .lx-footer__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.lx-footer__copyright {
    font-size: 11.5px;
    font-weight: 400;
    letter-spacing: .5px;
    color: rgba(255, 255, 255, .3);
    white-space: nowrap;
}

/* Payment icons */
.lx-footer__payments {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lx-footer__payment-icon {
    width: 42px;
    height: 28px;
    color: rgba(255, 255, 255, .2);
    transition: color .3s ease;
}

.lx-footer__payment-icon:hover {
    color: rgba(255, 255, 255, .45);
}

/* Legal links */
.lx-footer__legal {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lx-footer__legal a {
    font-size: 11.5px;
    font-weight: 400;
    letter-spacing: .5px;
    color: rgba(255, 255, 255, .3);
    text-decoration: none;
    transition: color .3s ease;
}

.lx-footer__legal a:hover {
    color: rgba(255, 255, 255, .7);
}

.lx-footer__legal-dot {
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
}


/* ==========================================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
    .lx-footer__nav {
        grid-template-columns: 1fr 1fr;
        gap: 50px 40px;
    }

    .lx-footer__top .lx-footer__container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .lx-footer__tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .lx-footer__social {
        justify-content: center;
    }

    .lx-footer__bottom .lx-footer__container {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 16px;
    }

    .lx-footer__copyright {
        width: 100%;
        order: 3;
    }
}


/* ==========================================================================
   RESPONSIVE — Mobile (≤ 640px)
   ========================================================================== */

@media (max-width: 640px) {
    .lx-footer__top {
        padding: 60px 0 40px;
    }

    .lx-footer__logo {
        font-size: 26px;
        letter-spacing: 5px;
    }

    .lx-footer__tagline {
        font-size: 12.5px;
        max-width: 280px;
    }

    /* Single column stack */
    .lx-footer__nav {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .lx-footer__heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .lx-footer__list {
        align-items: center;
    }

    .lx-footer__middle {
        padding: 40px 0 50px;
    }

    /* Newsletter full width */
    .lx-footer__col--newsletter {
        text-align: center;
    }

    .lx-footer__newsletter-desc {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .lx-footer__input-wrap {
        justify-content: center;
    }

    .lx-footer__input {
        text-align: center;
        min-width: 0;
    }

    .lx-footer__input::placeholder {
        text-align: center;
    }

    /* Bottom */
    .lx-footer__bottom {
        padding: 24px 0 32px;
    }

    .lx-footer__bottom .lx-footer__container {
        flex-direction: column;
        gap: 18px;
    }

    .lx-footer__payments {
        order: 1;
    }

    .lx-footer__legal {
        order: 2;
    }

    .lx-footer__copyright {
        order: 3;
        width: auto;
    }

    .lx-footer__payment-icon {
        width: 36px;
        height: 24px;
    }
}


/* ==========================================================================
   RESPONSIVE — Small Mobile (≤ 380px)
   ========================================================================== */

@media (max-width: 380px) {
    .lx-footer__container {
        padding: 0 16px;
    }

    .lx-footer__logo {
        font-size: 22px;
        letter-spacing: 4px;
    }

    .lx-footer__submit span {
        display: none;
    }

    .lx-footer__submit {
        padding: 14px 4px;
    }
}


/* ─── Accessibility: Reduced Motion ──────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    .lx-footer__list a,
    .lx-footer__list a::after,
    .lx-footer__social-link,
    .lx-footer__submit,
    .lx-footer__submit svg,
    .lx-footer__logo,
    .lx-footer__input-wrap,
    .lx-footer__payment-icon {
        transition: none;
    }
}