/* static/css/components/footer-v2.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ========================
   Outer section
======================== */
.fv2 {
    width: 100%;
    background-color: #fff;
    padding: clamp(32px, 5vw, 64px) 0;
}

/* ========================
   Wrapper: holds both investor-pass and footer.
   width: 90% gives ~5% white space on each side;
   max-width caps it at 1240px on wide screens.
   The pattern sits above the #F8FAFC fill via the
   inline background-image (inline style wins specificity).
======================== */
.fv2__wrap {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    border-radius: 40px;
    background-color: var(--Secondary-background, #F8FAFC);
    background-size: auto 300px;
    background-position: center center;
    background-repeat: no-repeat;
    padding: clamp(24px, 4vw, 48px);
}

/* ========================
   Investor Pass card wrapper
======================== */
.fv2__pass-card {
    display: flex;
    width: 100%;
    padding: 50px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex-shrink: 0;
}

/* investor-pass inside card inherits card's background */
.fv2__pass-card .investor-pass {
    background: transparent;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* ========================
   Footer container
======================== */
.fv2__footer {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* ========================
   4 Columns — mobile: stacked
======================== */
.fv2__cols {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.fv2__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fv2__col--brand {
    gap: 16px;
}

/* ========================
   Logo
======================== */
.fv2__logo {
    height: auto;
    width: auto;
    max-height: 40px;
    max-width: 160px;
    display: block;
    object-fit: contain;
}

/* ========================
   Description
======================== */
.fv2__desc {
    color: #334155;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

/* ========================
   Social icons row
======================== */
.fv2__socials {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.fv2__social {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #353535;
    text-decoration: none;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.fv2__social:hover {
    opacity: 0.65;
}

/* ========================
   Column heading
======================== */
.fv2__col-title {
    color: #353535;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0;
}

/* ========================
   Links list
======================== */
.fv2__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fv2__link {
    color: #353535;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.fv2__link:hover {
    opacity: 0.65;
}

/* ========================
   Bottom bar
======================== */
.fv2__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    gap: 16px;
}

.fv2__copyright {
    color: #334155;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

.fv2__back-top {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #353535;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.fv2__back-top:hover {
    opacity: 0.65;
}

.fv2__back-top svg {
    flex-shrink: 0;
}

/* ========================
   Tablet (768px+): 4-column row
======================== */
@media (min-width: 768px) {
    .fv2__cols {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        min-height: 212px;
        gap: 24px;
    }

    .fv2__col--brand {
        width: 400px;
        flex-shrink: 0;
    }
}

/* ========================
   Mobile
======================== */
@media (max-width: 767px) {
    .fv2__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
