/* =========================================================
   HyperDAF Core — Footer
   Location: /wp-content/themes/hyperdaf-core/assets/css/footer.css
   Purpose:
   - Global footer styling for all frontend pages
   - Premium support CTA block + marketplace footer layout
   - Split from main.css for easier full file replacement workflow
========================================================= */

.hdaf-footer{
    margin-top:64px;
}

.hdaf-footer-support{
    background:linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    border-top:1px solid #fed7aa;
    border-bottom:1px solid #fdba74;
}

.hdaf-footer-support__inner{
    display:grid;
    grid-template-columns:minmax(0, 1.1fr) minmax(320px, 480px);
    gap:28px;
    align-items:center;
    padding:32px 0;
}

.hdaf-footer-support__eyebrow{
    display:inline-flex;
    align-items:center;
    margin-bottom:10px;
    color:var(--hdaf-color-accent);
    font-size:13px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.hdaf-footer-support__title{
    margin:0 0 10px;
    color:var(--hdaf-color-heading);
    font-size:clamp(1.5rem, 2.2vw, 2rem);
    font-weight:800;
    line-height:1.18;
}

.hdaf-footer-support__text{
    margin:0;
    max-width:680px;
    color:var(--hdaf-color-text);
    font-size:15px;
}

.hdaf-footer-support__form-area{
    width:100%;
}

.hdaf-footer-support__form{
    display:flex;
    align-items:center;
    gap:10px;
    padding:8px;
    border:1px solid #fed7aa;
    border-radius:16px;
    background:#ffffff;
}

.hdaf-footer-support__input{
    min-width:0;
    flex:1 1 auto;
    height:40px;
    margin:0 !important;
    padding:0 14px !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    color:var(--hdaf-color-text);
    font-size:14px;
}

.hdaf-footer-support__input:focus{
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}

.hdaf-footer-support__button{
    flex:0 0 auto;
    min-width:120px;
    height:auto;
    border:0;
}

.hdaf-footer-main{
    background:#f8fafc;
    border-top:1px solid var(--hdaf-color-border);
}

.hdaf-footer-main__grid{
    display:grid;
    grid-template-columns:minmax(0, 1.2fr) repeat(3, minmax(160px, 1fr));
    gap:28px;
    padding:52px 0 34px;
}

.hdaf-footer-brand__name{
    display:inline-flex;
    align-items:center;
    margin-bottom:14px;
    color:var(--hdaf-color-heading);
    font-size:28px;
    font-weight:800;
    line-height:1;
    letter-spacing:-0.02em;
}

.hdaf-footer-brand__name:hover{
    color:var(--hdaf-color-primary);
}

.hdaf-footer-brand__text{
    max-width:360px;
    margin:0;
    color:var(--hdaf-color-text);
    font-size:15px;
}

.hdaf-footer-nav__title{
    margin:0 0 14px;
    color:var(--hdaf-color-heading);
    font-size:15px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.hdaf-footer-nav__list{
    margin:0;
    padding:0;
    list-style:none;
}

.hdaf-footer-nav__list li + li{
    margin-top:10px;
}

.hdaf-footer-nav__list a{
    color:var(--hdaf-color-text);
    font-size:15px;
    font-weight:600;
}

.hdaf-footer-nav__list a:hover{
    color:var(--hdaf-color-primary);
}

.hdaf-footer-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:20px 0 28px;
    border-top:1px solid #d7e0ea;
}

.hdaf-footer-bottom__copyright{
    margin:0;
    color:var(--hdaf-color-muted);
    font-size:14px;
}

.hdaf-footer-bottom__links{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:18px;
}

.hdaf-footer-bottom__links a{
    color:var(--hdaf-color-muted);
    font-size:14px;
    font-weight:600;
}

.hdaf-footer-bottom__links a:hover{
    color:var(--hdaf-color-primary);
}

@media (max-width:1024px){
    .hdaf-footer-support__inner{
        grid-template-columns:1fr;
    }

    .hdaf-footer-main__grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:767px){
    .hdaf-footer{
        margin-top:48px;
    }

    .hdaf-footer-support__inner{
        gap:18px;
        padding:24px 0;
    }

    .hdaf-footer-support__form{
        flex-direction:column;
        align-items:stretch;
        padding:12px;
    }

    .hdaf-footer-support__input{
        height:42px;
    }

    .hdaf-footer-support__button{
        width:100%;
        min-width:0;
    }

    .hdaf-footer-main__grid{
        grid-template-columns:1fr;
        gap:24px;
        padding:38px 0 24px;
    }

    .hdaf-footer-bottom{
        flex-direction:column;
        align-items:flex-start;
        padding:18px 0 24px;
    }
}