/* Importar estilos base */
@import url('styles.css');

/* Sección Productores */
.productores-section {
    padding: 140px 0 80px;
    background-color: #FFFFFF;
    min-height: calc(100vh - 140px);
    position: relative;
}

.productores-section h1 {
    font-family: 'SUSE', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 49px;
    color: #019C9E;
    text-align: center;
    margin-bottom: 60px;
}

/* Contenedor de contenido principal */
.productores-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    max-width: 1475px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Contenedor de texto */
.productores-text {
    flex: 0 0 45%;
    max-width: 600px;
}

.productores-text h3 {
    font-family: 'SUSE', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 49px;
    color: #019C9E;
    margin-bottom: 30px;
}

.productores-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #333333;
    margin-bottom: 20px;
}

/* Contenedor de imagen */
.productores-imagen {
    flex: 0 0 55%;
    height: 430px;
    max-width: 850px;
}

.productores-imagen img {
    width: 100%;
    height: auto;
    border-radius: 91px;
    object-fit: cover;
}

/* Contenedor de beneficios */
.productores-beneficios-content {
    position: relative;
    width: 1479px;
    max-width: calc(100% - 40px);
    min-height: 296px;
    margin: 60px auto;
    background: #FEFEFE;
    box-shadow: 0px 4px 7.7px 13px rgba(0, 0, 0, 0.03);
    border-radius: 60px;
    padding: 60px;
    display: flex;
    align-items: flex-start;
}

/* Check y título de beneficios */
.productores-beneficios-check {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding-left: 20px;
    gap: 15px;
    top: 50%;
    margin-right: 60px;
    position: relative;
}

.productores-beneficios-check i {
    margin-top: 100px;
    font-size: 40px;
    color: #019C9E;
}

.productores-beneficios-check p {
    margin-top: 110px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 49px;
    color: black;
}

/* Línea vertical separadora */
.productores-beneficios-check::after {
    content: '';
    position: absolute;
    right: -50px;
    top: 10px; /* Ajustar según necesidad */
    width: 2px;
    height: 250px; /* Ajustar según necesidad */
    background-color: #019C9E;
}

/* Contenedor de la lista */
.beneficios-list {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0 0 0 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.beneficio-item {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 19.66px;
    text-align: left;
    color: #333333;
    position: relative;
    padding-left: 15px;
}

.beneficio-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #019C9E;
}

/* Botón back to top modificado */
.back-to-index {
    width: 57px;
    height: 57px;
    border-radius: 50%;
    border: none;
    background: #F68E2F;
    display: none;
    display: flex !important;
    transform: rotate(-90deg);
}

.back-to-index svg {
    transform: rotate(90deg);
}

.back-to-index svg path {
    stroke: #FFFFFF;
    stroke-width: 2.8px;
}

.back-to-index:hover {
    background: #03C59D;
}


/* Responsive desktop and tablets */
@media screen and (max-width: 1536px) {
    #productores-titulo{
        font-size: 30px;
        margin-bottom: 10px;
    }

    /* Contenedor de contenido principal */
    .productores-content {
        max-width: 1475px;
        margin: 0;
        padding: 50px 20px;
    }

    /* Contenedor de texto */
    .productores-text {
        flex: 0 0 50%;
        max-width: 600px;
    }

    .productores-text h3 {
        font-size: 30px;
        line-height: 40px;
    }

    .productores-text p {
        font-size: 16px;
        line-height: 22px;
    }

    /* Contenedor de imagen */
    .productores-imagen {
        flex: 0 0 50%;
        height: 330px;
        width: 100px;
        margin-right: 10px;
    }

    .productores-imagen img {
        width: 100%;
        height: auto;
        border-radius: 91px;
        object-fit: cover;
    }


    /* Contenedor de beneficios */
    .productores-beneficios-content {
        position: relative;
        width: 1500px;
        max-width: calc(100% - 40px);
        min-height: 200px;
        margin: 10px auto;
    }

    .productores-beneficios-check i {
        font-size: 30px;
    }

    .productores-beneficios-check p {
        margin-top: 110px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 30px;
    }

    /* Línea vertical separadora */
    .productores-beneficios-check::after {
        content: '';
        position: absolute;
        right: -50px;
        top: 10px; /* Ajustar según necesidad */
        width: 2px;
        height: 250px; /* Ajustar según necesidad */
        background-color: #019C9E;
    }

    /* Contenedor de la lista */
    .beneficios-list {
        gap: 8px;
    }

    .beneficio-item {
        font-family: 'Montserrat', sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 19.66px;
        text-align: left;
        color: #333333;
        position: relative;
        padding-left: 15px;
    }

    .beneficio-item::before {
        content: '•';
        position: absolute;
        left: 0;
        color: #019C9E;
    }

    .back-to-index {
        width: 45px;
        height: 45px;
    }


}

@media screen and (max-width: 1366px) {
    /* Contenedor de beneficios */
    .productores-beneficios-content {
        position: relative;
        width: 1300px;
        max-width: calc(100% - 20px);
        min-height: 200px;
        margin: 10px auto;
    }

    .productores-text h3 {
        font-size: 26px;
        line-height: 40px;
    }

    .productores-beneficios-check i {
        font-size: 30px;
    }

    .productores-beneficios-check p {
        margin-top: 110px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 30px;
    }

    /* Línea vertical separadora */
    .productores-beneficios-check::after {
        content: '';
        position: absolute;
        right: -50px;
        top: 10px; /* Ajustar según necesidad */
        width: 2px;
        height: 250px; /* Ajustar según necesidad */
        background-color: #019C9E;
    }

    /* Contenedor de la lista */
    .beneficios-list {
        gap: 5px;
    }

    .beneficio-item {
        font-family: 'Montserrat', sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 19.66px;
        text-align: left;
        color: #333333;
        position: relative;
        padding-left: 15px;
    }

    .beneficio-item::before {
        content: '•';
        position: absolute;
        left: 0;
        color: #019C9E;
    }

    .back-to-index {
        width: 45px;
        height: 45px;
    }
}

@media screen and (max-width: 768px) {
    .productores-beneficios-content {
        flex-direction: column;
        padding: 30px;
    }

    .productores-beneficios-check {
        margin-right: 0;
        margin-bottom: 30px;
        width: 100%;
        justify-content: center;
    }

    .productores-beneficios-check::after {
        width: 80%;
        height: 2px;
        top: auto;
        bottom: -15px;
        left: 10%;
        right: auto;
    }

    .beneficios-list {
        margin: 30px 0 0 0;
    }
}

/* Responsive mobile*/
@media screen and (max-width: 430px) {
    .productores-section{
        padding-top: 80px;
        padding-bottom: 40px;
    }

    #productores-titulo{
        margin-bottom: 30px;
    }

    .productores-content {
        display: flex;
        align-items: center;
        width: 100%;
        margin: 0;
        padding: 20px 20px;
        flex-direction: column-reverse;
        align-content: center;
    }
    .productores-imagen {
        position: relative;
        width: 100%;
        margin: 0;
    }

    .productores-imagen img{
        position: relative;
        width: 388px;
        height: 176px;
        border-radius: 25px;
    }

    .productores-beneficios-content {
        width: 100%;
        height: auto; /* Eliminamos la altura fija */
        padding: 20px;
        margin: 15px; /* Eliminamos el margen */
        text-align: center;
        flex: none;  /* Anulamos el flex del desktop */
        min-height: 0;  /* Anulamos la altura mínima */
    }

    .productores-beneficios-check {
        top: auto;
        padding: 0;
        margin: 15px 0 15px 0 ;
        width: 100%;
        justify-content: center;
    }

    .productores-beneficios-check i{
        top: auto;
        padding: 0;
        margin: 0;
        font-size: 40px;
        justify-content: center;
    }

    .productores-beneficios-check p{
        top: auto;
        padding: 0;
        margin: 0;
        justify-content: center;
    }

    .productores-text{
        justify-content: center;
        text-align: center;
    }

    .productores-beneficios-check::after {
        display: none;
    }

    .beneficios-list {
        margin: 10px 0 30px 0 ;
    }
}

@media screen and (max-width: 428px) {
    .productores-section{
        padding-top: 80px;
        padding-bottom: 40px;
    }

    #productores-titulo{
        margin-bottom: 30px;
    }

    .productores-content {
        display: flex;
        align-items: center;
        width: 100%;
        margin: 0;
        padding: 20px 20px;
        flex-direction: column-reverse;
        align-content: center;
    }
    .productores-imagen {
        position: relative;
        width: 100%;
        margin: 0;
    }

    .productores-imagen img{
        position: relative;
        width: 388px;
        height: 176px;
        border-radius: 25px;
    }

    .productores-beneficios-content {
        width: 100%;
        height: auto; /* Eliminamos la altura fija */
        padding: 20px;
        margin: 15px; /* Eliminamos el margen */
        text-align: center;
        flex: none;  /* Anulamos el flex del desktop */
        min-height: 0;  /* Anulamos la altura mínima */
    }

    .productores-beneficios-check {
        top: auto;
        padding: 0;
        margin: 15px 0 15px 0 ;
        width: 100%;
        justify-content: center;
    }

    .productores-beneficios-check i{
        top: auto;
        padding: 0;
        margin: 0;
        font-size: 40px;
        justify-content: center;
    }

    .productores-beneficios-check p{
        top: auto;
        padding: 0;
        margin: 0;
        justify-content: center;
    }

    .productores-text{
        justify-content: center;
        text-align: center;
    }

    .productores-beneficios-check::after {
      display: none;
    }

    .beneficios-list {
        margin: 10px 0 30px 0 ;
    }
}

@media screen and (max-width: 414px) {
    .productores-section {
        min-height: auto; /* O un valor que se ajuste a tu contenido */
        height: fit-content;
        padding-top: 80px;
        padding-bottom: 40px;
    }
}

@media screen and (max-width: 390px) {
    .productores-section {
        min-height: auto; /* O un valor que se ajuste a tu contenido */
        height: fit-content;
        padding-top: 80px;
        padding-bottom: 40px;
    }
}

@media screen and (max-width: 360px) {
    .productores-section{
        min-height: auto; /* O un valor que se ajuste a tu contenido */
        height: fit-content;
        padding-top: 80px;
        padding-bottom: 40px;
    }

    #productores-titulo{
        margin-bottom: 30px;
    }

    .productores-content {
        display: flex;
        align-items: center;
        width: 100%;
        margin: 0;
        padding: 20px 20px;
        flex-direction: column-reverse;
        align-content: center;
    }
    .productores-imagen {
        position: relative;
        width: 100%;
        margin: 0;
    }

    .productores-imagen img{
        position: relative;
        width: 388px;
        height: 176px;
        border-radius: 25px;
    }

    .productores-beneficios-content {
        width: 100%;
        height: auto; /* Eliminamos la altura fija */
        padding: 20px;
        margin: 15px; /* Eliminamos el margen */
        text-align: center;
        flex: none;  /* Anulamos el flex del desktop */
        min-height: 0;  /* Anulamos la altura mínima */
    }

    .productores-beneficios-check {
        top: auto;
        padding: 0;
        margin: 15px 0 15px 0 ;
        width: 100%;
        justify-content: center;
    }

    .productores-beneficios-check i{
        top: auto;
        padding: 0;
        margin: 0;
        font-size: 40px;
        justify-content: center;
    }

    .productores-beneficios-check p{
        top: auto;
        padding: 0;
        margin: 0;
        justify-content: center;
    }

    .productores-text{
        justify-content: center;
        text-align: center;
    }

    .productores-beneficios-check::after {
      display: none;
    }

    .beneficios-list {
        margin: 10px 0 30px 0 ;
    }
}