/* CQZ Pharmacy — Premium Landing Footer */

.landing-footer {
    --lf-bg: #0a1628;
    --lf-bg-elevated: #0f2038;
    --lf-border: rgba(255, 255, 255, 0.08);
    --lf-text: rgba(255, 255, 255, 0.82);
    --lf-muted: rgba(255, 255, 255, 0.52);
    position: relative;
    margin-top: 0;
    padding: 0;
    background: var(--lf-bg);
    color: var(--lf-text);
    overflow: hidden;
}

.landing-footer-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.landing-footer-grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 100%);
}

.landing-footer-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}

.landing-footer-glow-1 {
    width: 400px;
    height: 400px;
    top: -120px;
    inset-inline-end: 10%;
    background: color-mix(in srgb, var(--accent-color), transparent 40%);
}

.landing-footer-glow-2 {
    width: 280px;
    height: 280px;
    bottom: 0;
    inset-inline-start: -60px;
    background: color-mix(in srgb, var(--accent-color), transparent 55%);
}

.landing-footer .container {
    position: relative;
    z-index: 1;
}

/* ── CTA band ── */
.landing-footer-cta-wrap {
    padding: 3.5rem 0 0;
    border-top: 1px solid var(--lf-border);
}

.landing-footer-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2rem;
    padding: 2rem 2.25rem;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.07) 0%,
        rgba(255, 255, 255, 0.03) 100%
    );
    border: 1px solid var(--lf-border);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 20px 50px rgba(0, 0, 0, 0.25);
}

.landing-footer-cta-label {
    display: block;
    font-size: clamp(1.125rem, 2.2vw, 1.375rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.landing-footer-cta-content p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--lf-muted);
    max-width: 480px;
}

.landing-footer-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.lf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    white-space: nowrap;
}

.lf-btn-primary {
    color: #fff;
    background: var(--accent-color);
    box-shadow: 0 4px 20px color-mix(in srgb, var(--accent-color), transparent 55%);
}

.lf-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px color-mix(in srgb, var(--accent-color), transparent 40%);
}

.lf-btn-ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.lf-btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
}

[dir="ltr"] .lf-btn-primary i.bi-arrow-left-short {
    transform: scaleX(-1);
}

/* ── Main body ── */
.landing-footer-body {
    padding: 3rem 0 2.5rem;
}

.landing-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
    text-decoration: none;
}

.landing-footer-logo img,
.landing-footer-logo-img {
    height: 52px;
    width: auto;
    max-width: min(240px, 70vw);
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
}

.landing-footer-logo span {
    font-size: 1.375rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
}

.landing-footer-tagline {
    margin: 0 0 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--lf-muted);
    max-width: 340px;
}

.landing-footer-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.landing-footer-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--lf-border);
}

.landing-footer-trust i {
    color: var(--accent-color);
    font-size: 0.8125rem;
}

.landing-footer-social {
    display: flex;
    gap: 0.5rem;
}

.landing-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: var(--lf-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--lf-border);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}

.landing-footer-social a:hover {
    color: #fff;
    background: color-mix(in srgb, var(--accent-color), transparent 75%);
    border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
    transform: translateY(-2px);
}

.landing-footer-heading {
    margin: 0 0 1.125rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.95);
}

.landing-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.landing-footer-links li {
    margin-bottom: 0.625rem;
}

.landing-footer-links li:last-child {
    margin-bottom: 0;
}

.landing-footer-links a {
    display: inline-block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--lf-text);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

.landing-footer-links a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    inset-inline-start: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.25s ease;
}

.landing-footer-links a:hover {
    color: #fff;
}

.landing-footer-links a:hover::after {
    width: 100%;
}

.landing-footer-contact-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--lf-border);
}

.landing-footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--lf-text);
    text-decoration: none;
    transition: color 0.2s;
}

.landing-footer-contact-item i {
    color: var(--accent-color);
    font-size: 1.0625rem;
}

.landing-footer-contact-item:hover {
    color: #fff;
}

.landing-footer-contact-divider {
    width: 1px;
    height: 1.25rem;
    background: var(--lf-border);
}

/* ── Bottom bar ── */
.landing-footer-bar {
    border-top: 1px solid var(--lf-border);
    background: rgba(0, 0, 0, 0.22);
}

.landing-footer-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding: 1.125rem 0;
}

.landing-footer-bar-inner p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--lf-muted);
}

.landing-footer-made {
    font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .landing-footer-cta {
        padding: 1.5rem 1.35rem;
    }

    .landing-footer-cta-btns {
        width: 100%;
    }

    .lf-btn {
        flex: 1;
        min-width: 130px;
    }

    .landing-footer-tagline {
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .landing-footer-cta-wrap {
        padding-top: 2.5rem;
    }

    .landing-footer-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .landing-footer-cta-content p {
        max-width: none;
    }

    .landing-footer-cta-btns {
        flex-direction: column;
    }

    .lf-btn {
        width: 100%;
    }

    .landing-footer-body {
        padding: 2.25rem 0 2rem;
    }

    .landing-footer-contact-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .landing-footer-contact-divider {
        display: none;
    }

    .landing-footer-bar-inner {
        flex-direction: column;
        text-align: center;
    }
}
