/* ==========================================================================
   ESDESIRE V2 — FOOTER
   Loaded on EVERY page via master-v2.blade.php
   ========================================================================== */

.v2-footer {
    background: var(--v2-gray-900);
    border-top: 1px solid rgba(255,255,255,0.06);
    color: var(--v2-gray-400);
    font-size: 14px;
    position: relative;
    margin-top: auto;
    z-index: 1;
}

/* ── Top section (4 columns) ── */
.v2-footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-top: 80px;
    padding-bottom: 56px;
}

/* ── Brand column ── */
.v2-footer-brand {
    padding-right: 32px;
}

.v2-footer-logo {
    display: inline-block;
    margin-bottom: 14px;
}

.v2-footer-logo img {
    height: 32px;
    width: auto;
}

.v2-footer-logo-text {
    font-family: var(--v2-font-head);
    font-size: 24px;
    font-weight: 800;
    color: var(--v2-white);
    letter-spacing: -0.02em;
}

.v2-footer-logo-text span {
    color: var(--v2-green);
}

.v2-footer-tagline {
    font-family: var(--v2-font-head);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.78);
    margin-bottom: 14px;
}

.v2-footer-about {
    font-size: 14px;
    line-height: 1.7;
    color: var(--v2-gray-400);
    margin-bottom: 28px;
}

/* Social icons */
.v2-footer-socials {
    display: flex;
    gap: 8px;
}

.v2-footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 14px;
    color: var(--v2-gray-400);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0;
    background: transparent;
    transition: color 0.25s, background 0.25s, border-color 0.25s;
}

.v2-footer-socials a:hover {
    color: var(--v2-white);
    background: var(--v2-green);
    border-color: var(--v2-green);
}

/* ── Column headings ── */
.v2-footer-heading {
    font-family: var(--v2-font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--v2-white);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--v2-green);
    display: inline-block;
}

/* ── Link list ── */
.v2-footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.v2-footer-list li a {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 7px 0;
    font-size: 14px;
    color: var(--v2-gray-400);
    transition: color 0.2s, gap 0.2s, padding-left 0.25s;
}

.v2-footer-list li a::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 2px;
    background: var(--v2-green);
    transition: width 0.25s;
    flex-shrink: 0;
}

.v2-footer-list li a:hover {
    color: var(--v2-white);
    gap: 8px;
}

.v2-footer-list li a:hover::before {
    width: 12px;
}

/* ── Contact list ── */
.v2-footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.v2-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--v2-gray-400);
}

.v2-footer-contact li i {
    color: var(--v2-green);
    font-size: 14px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.v2-footer-contact li a {
    color: var(--v2-gray-400);
    transition: color 0.2s;
}

.v2-footer-contact li a:hover {
    color: var(--v2-white);
}

/* ── CTA in footer ── */
.v2-footer-cta {
    margin-top: 28px;
}

/* ── Divider ── */
.v2-footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
}

/* ── Bottom bar ── */
.v2-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 28px;
    padding-bottom: 36px;
}

.v2-footer-copy {
    font-size: 13px;
    color: var(--v2-gray-500);
}

.v2-footer-legal {
    display: flex;
    gap: 24px;
    list-style: none;
}

.v2-footer-legal a {
    font-size: 13px;
    color: var(--v2-gray-500);
    transition: color 0.2s;
}

.v2-footer-legal-button {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    font-size: 13px;
    color: var(--v2-gray-500);
    cursor: pointer;
    transition: color 0.2s;
}

.v2-footer-legal a:hover {
    color: var(--v2-white);
}

.v2-footer-legal-button:hover {
    color: var(--v2-white);
}

/* ── Footer responsive ── */
@media (max-width: 991px) {
    .v2-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px 32px;
        padding-top: 60px;
        padding-bottom: 48px;
    }

    .v2-footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
        max-width: 480px;
    }
}

@media (max-width: 640px) {
    .v2-footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 48px;
        padding-bottom: 36px;
    }

    .v2-footer-brand {
        max-width: none;
    }

    .v2-footer-about {
        margin-bottom: 20px;
    }

    .v2-footer-socials {
        flex-wrap: wrap;
    }

    .v2-footer-contact li {
        gap: 10px;
    }

    .v2-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .v2-footer-legal {
        flex-wrap: wrap;
        gap: 12px 16px;
    }
}
