/* ==========================================================================
   LOCAL SCAFFOLDING LTD - Footer
   ========================================================================== */

.ls-footer {
    background: var(--ls-text);
    color: rgba(255, 255, 255, 0.85);
    padding: var(--ls-space-3xl) 0 var(--ls-space-lg);
    font-size: 0.9375rem;
}

.ls-footer h3,
.ls-footer h4 {
    color: var(--ls-white);
}

.ls-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--ls-transition);
}

.ls-footer a:hover {
    color: var(--ls-yellow);
}

/* ---------- CTA strip (subtle gradient: purple → slightly lighter purple) ---------- */
.ls-footer-cta {
    background: linear-gradient(135deg, var(--ls-purple) 0%, #6B2D7A 100%);
    color: var(--ls-white);
    padding: var(--ls-space-2xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ls-footer-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ls-yellow);
}

.ls-footer-cta h2 {
    color: var(--ls-white);
    margin-bottom: var(--ls-space-sm);
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.ls-footer-cta h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    border-radius: 2px;
    background: var(--ls-yellow);
}

.ls-footer-cta p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--ls-space-lg);
    font-size: 1.0625rem;
}

.ls-footer-cta-actions {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--ls-space-md);
}

/* ---------- Main footer grid ---------- */
.ls-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: var(--ls-space-3xl);
    margin-bottom: var(--ls-space-2xl);
}

.ls-footer-col {
    display: flex;
    flex-direction: column;
}

/* Brand block (no logo, brand text instead) */
.ls-footer-col-brand {
    display: flex;
    flex-direction: column;
}

.ls-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: var(--ls-space-md);
}

.ls-footer-brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ls-white);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.ls-footer-brand-name .accent {
    color: var(--ls-yellow);
}

.ls-footer-brand-tagline {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ls-footer-about-tagline {
    margin-bottom: var(--ls-space-md);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

/* Footer h4 heading with icon + underline */
.ls-footer-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ls-white);
    margin-bottom: var(--ls-space-md);
    padding-bottom: 10px;
    position: relative;
}

.ls-footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--ls-yellow);
    border-radius: 1px;
}

.ls-footer-heading i {
    color: var(--ls-yellow);
    font-size: 0.875rem;
    width: 18px;
    text-align: center;
}

/* Footer lists */
.ls-footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ls-footer-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
}

.ls-footer-list a i {
    color: rgba(244, 197, 24, 0.7);
    font-size: 0.75rem;
    width: 14px;
    text-align: center;
    transition: color var(--ls-transition), transform var(--ls-transition);
}

.ls-footer-list a:hover i {
    color: var(--ls-yellow);
    transform: translateX(2px);
}

.ls-footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--ls-space-sm);
}

.ls-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
}

.ls-footer-contact li > i {
    color: var(--ls-yellow);
    margin-top: 4px;
    font-size: 0.875rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* Areas we cover (full-width band, centred) */
.ls-footer-areas {
    margin-bottom: var(--ls-space-xl);
    padding-top: var(--ls-space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.ls-footer-areas .ls-footer-heading {
    display: inline-flex;
    justify-content: center;
}

.ls-footer-areas .ls-footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
}

.ls-footer-areas-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.ls-footer-areas-list span {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.ls-footer-areas-list span:not(:last-child)::after {
    content: "·";
    margin: 0 12px;
    color: var(--ls-yellow);
    font-weight: 700;
}

/* ---------- Bottom strip ---------- */
.ls-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: var(--ls-space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ls-space-md);
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

.ls-footer-legal {
    display: flex;
    gap: var(--ls-space-md);
    flex-wrap: wrap;
}

.ls-footer-legal a {
    color: rgba(255, 255, 255, 0.7);
}

.ls-footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ls-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--ls-white);
    transition: background var(--ls-transition), transform var(--ls-transition), color var(--ls-transition);
}

.ls-footer-social a:hover {
    background: var(--ls-yellow);
    color: var(--ls-text);
    transform: translateY(-2px);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .ls-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--ls-space-2xl);
    }

    .ls-footer-col-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 540px) {
    .ls-footer-grid {
        grid-template-columns: 1fr;
        gap: var(--ls-space-xl);
        text-align: center;
    }

    .ls-footer-col {
        align-items: center;
    }

    .ls-footer-col-brand {
        align-items: center;
        text-align: center;
    }

    .ls-footer-brand {
        align-items: center;
    }

    .ls-footer-about-tagline {
        text-align: center;
    }

    .ls-footer-heading {
        justify-content: center;
        text-align: center;
    }

    .ls-footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .ls-footer-list {
        align-items: center;
    }

    .ls-footer-list a {
        justify-content: center;
    }

    .ls-footer-contact {
        align-items: center;
    }

    .ls-footer-contact li {
        justify-content: center;
        text-align: center;
    }

    .ls-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--ls-space-md);
    }

    .ls-footer-social {
        justify-content: center;
    }
}
