body {
    font-family: polymath-display, sans-serif;
    margin: 0;
    padding: 0;
}

/* ===========================
   Investment Section
   =========================== */
.investment-section {
    position: relative;
    padding: 60px 0;
    /* Background cover image (same pattern as intro) */
    background: url('http://dudev.mx/assets/img/travel-min.jpg') center / cover no-repeat;
}

/* --- Heading --- */
.investment-section__heading {
    font-family: polymath-display, sans-serif;
    font-weight: 300;
    font-size: 1.6rem;
    color: var(--color-secondary);
    line-height: 1.3;
    margin-bottom: 16px;
}

.investment-section__subtitle {
    font-size: 0.8rem;
    color: var(--color-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

/* --- Feature Cards --- */
.investment-section__cards {
    margin-bottom: 40px !important;
}

.investment-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 24px 32px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
}

/* Desktop hover */
@media (min-width: 768px) {
    .investment-card {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .investment-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    }
}

/* ===========================
   Mobile Tinder Stack (max-width: 767px)
   =========================== */
@media (max-width: 767.98px) {
    .investment-section__cards {
        position: relative;
        height: 220px;
        margin-bottom: 40px !important;
    }

    .investment-section__cards .col-12 {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        padding: 0 30px;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        margin-bottom: 0 !important;
    }

    /* Stacked state (default) */
    .investment-section__cards .col-12:nth-child(1) {
        z-index: 3;
        transform: translateY(0) scale(1);
    }

    .investment-section__cards .col-12:nth-child(2) {
        z-index: 2;
        transform: translateY(10px) scale(0.95);
    }

    .investment-section__cards .col-12:nth-child(3) {
        z-index: 1;
        transform: translateY(20px) scale(0.9);
    }

    /* Swipe left */
    .investment-section__cards .col-12.swipe-left {
        transform: translateX(-120%) rotate(-15deg) !important;
        opacity: 0;
    }

    /* Swipe right */
    .investment-section__cards .col-12.swipe-right {
        transform: translateX(120%) rotate(15deg) !important;
        opacity: 0;
    }

    /* When card 1 is dismissed, promote card 2 */
    .investment-section__cards .col-12:nth-child(1).swipe-left ~ .col-12:nth-child(2),
    .investment-section__cards .col-12:nth-child(1).swipe-right ~ .col-12:nth-child(2) {
        z-index: 3;
        transform: translateY(0) scale(1);
    }

    .investment-section__cards .col-12:nth-child(1).swipe-left ~ .col-12:nth-child(3),
    .investment-section__cards .col-12:nth-child(1).swipe-right ~ .col-12:nth-child(3) {
        z-index: 2;
        transform: translateY(10px) scale(0.95);
    }

    /* When card 1 & 2 are dismissed, promote card 3 */
    .investment-section__cards .col-12:nth-child(2).swipe-left ~ .col-12:nth-child(3),
    .investment-section__cards .col-12:nth-child(2).swipe-right ~ .col-12:nth-child(3) {
        z-index: 3;
        transform: translateY(0) scale(1);
    }

    .investment-card {
        padding: 32px 20px 28px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    }

    /* CTAs full-width stacked on mobile */
    .investment-section__ctas {
        flex-direction: column;
    }

    .investment-section__ctas .dv-cta {
        display: flex;
        width: 100%;
    }

    .investment-section__ctas .dv-cta .dv-cta__label {
        width: 100%;
        justify-content: center;
    }
}

.investment-card__icon {
    margin-bottom: 20px;
}

.investment-card__icon i {
    font-size: 70px;
    color: var(--color-primary);
}

/* PNG icon painted in the primary color via CSS mask */
.investment-card__icon-img {
    display: inline-block;
    width: 70px;
    height: 70px;
    background-color: var(--color-primary);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.investment-card__text {
    font-size: 1.225rem;
    color: var(--color-secondary);
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

/* --- CTAs --- */
.investment-section__ctas {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* ===========================
   Tablet and up (min-width: 768px)
   =========================== */
@media (min-width: 768px) {
    .investment-section {
        padding: 80px 0;
    }

    .investment-section__heading {
        font-size: 2rem;
    }

    .investment-section__subtitle {
        font-size: 0.85rem;
        margin-bottom: 50px;
    }

    .investment-section__cards {
        margin-bottom: 50px !important;
    }

    .investment-card {
        padding: 50px 28px 40px;
    }
}

/* ===========================
   Desktop and up (min-width: 992px)
   =========================== */
@media (min-width: 992px) {
    .investment-section {
        padding: 100px 0;
    }

    .investment-section__heading {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .investment-section__subtitle {
        font-size: 0.9rem;
    }

    .investment-card {
        padding: 50px 30px 40px;
    }

    .investment-card__icon i {
        font-size: 70px;
    }

    .investment-card__icon-img {
        width: 70px;
        height: 70px;
    }

    .investment-card__text {
        font-size: 1.225rem;
    }
}

/* ===========================
   Large desktop (min-width: 1200px)
   =========================== */
@media (min-width: 1200px) {
    .investment-section__heading {
        font-size: 2.8rem;
    }
}
