/* SECTION 2: HERO */
#ventas-hero {
    background-image: url("../assets/images/ventas1.jpg");
    background-size: cover;
    background-position: 25% 26%;
    padding: 100px 24px 160px;
    text-align: left;
    position: relative;
    z-index: 1;
}

/* OVERLAY*/
#ventas-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(42, 12, 17, 0.80);
    z-index: -1;
}

/*diagonal */
#ventas-hero::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 55px;
    background-color: #F5F1EE;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 2;
}

.ventas-hero-content {
    flex: 1 1 380px;
}

#ventas-hero h1 {
    color: #ffffff;
    font-size: 60px;
    line-height: 1.5;
    max-width: 820px;
    margin: 0px 10px 10px 50px;
    position: relative;
    z-index: 1;
    display: inline-block;
}

/* Highlight*/
#ventas-hero h1::after {
    content: "";
    position: absolute;
    left: -12px;
    right: -20px;
    bottom: 10px;
    height: 50px;
    background-color: rgba(207, 51, 45, 0.45);
    z-index: -1;
}

/* Lead */
.ventas-leadU {
    font-family: 'Cantarell', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 830px;
    margin: 10px 0 0 50px;
    color: #ffffff;
    border-left: 3px solid #CF332D;
    padding-left: 16px;
}


/* SECTION 3 */
#ventas-section3 {
    display: flex;
    flex-wrap: wrap-reverse;
    align-items: center;
    gap: 40px;
    padding: 80px 40px;
    background-color: #F5F1EE;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

/* Image*/
.ventas-section3-image {
    flex: 1 1 280px;
    min-height: 330px;
    border-radius: 12px;
    background-image: url("../assets/images/ventas2.jpg");
    background-size: cover;
    background-position: 25% 70%;
    background-repeat: no-repeat;
}

.ventas-section3-content {
    flex: 1 1 380px;
}

#ventas-section3 h2 {
    color: #CF332D;
    font-size: 2rem;
    margin: 20px 0 20px;
}

.ventas-eyebrow {
    color: #2A0C11;
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 0 30px 0;
}

#ventas-section3 .ventas-leadD {
    font-family: 'Cantarell', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 10px;
    color: #2A0C11;
    border-left: 3px solid #CF332D;
    padding-left: 16px;
}

#ventas-section3 .ventas-text {
    color: #555;
    margin: 20px 0px 0px 30px;
}

.ventas-section3-content .btn-primary {
    margin-top: 40px;
    margin-left: 30px;
}
/* Tablet */
@media (max-width: 992px) {
    #ventas-hero {
        padding: 80px 30px 140px;
    }

    #ventas-hero h1 {
        font-size: 46px;
        margin: 0 0 10px 24px;
    }

    #ventas-hero h1::after {
        left: -10px;
        right: -14px;
        height: 42px;
    }

    .ventas-leadU {
        margin: 10px 0 0 24px;
        font-size: 1rem;
    }

    #ventas-section3 {
        padding: 60px 30px;
        gap: 30px;
    }

    .ventas-section3-image {
        min-height: 280px;
    }

    #ventas-section3 h2 {
        font-size: 1.75rem;
    }

    .ventas-section3-content .btn-primary {
        margin-left: 10px;
    }
}
/* Mobile */
@media (max-width: 768px) {
    #ventas-hero {
        padding: 70px 20px 120px;
        background-position: 30% center;
    }

    #ventas-hero::after {
        height: 40px;
    }

    #ventas-hero h1 {
        font-size: 2.7rem;
        margin: 0 0 12px 0;
        max-width: 100%;
    }

    #ventas-hero h1::after {
        left: -8px;
        right: -8px;
        height: 34px;
        bottom: 6px;
    }

    #ventas-section3 .ventas-leadD {
        margin: 8px 0px 0px 20px;
        padding-left: 14px;
        font-size: 0.98rem;
    }

    #ventas-section3 {
        flex-direction: column-reverse;
        padding: 50px 20px;
        gap: 30px;
    }

    .ventas-section3-image {
        display: none;
    }

    #ventas-section3 h2 {
        font-size: 1.5rem;
        margin: 10px 0 16px;
    }

    .ventas-eyebrow {
        text-align: center;
        font-size: 1rem;
        margin-bottom: 50px;
    }

    #ventas-hero .ventas-leadU {
        margin: 8px 8px 0px 20px;
        font-size: 0.8rem;
    }

    #ventas-section3 .ventas-text {
        margin: 30px 0px 20px 20px;
        text-align: center;
    }

    .ventas-section3-content .btn-primary {
        margin-top: 30px;
        margin-left: auto;
        margin-right: auto;
        width: 50%;
        text-align: center;
        display: block;
    }
}