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

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

.como-trabajamos-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 */
.como-trabajamos-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 1475px;
    margin-bottom: 200px;
    position: relative;
}

/* Contenedor de imagen */
.como-trabajamos-imagen {
    flex: 0 0 960px;;
    height: 600px;
    position: relative;
    margin-left: -420px;
    margin-right: 5px;
    margin-bottom: 5%;
}

.como-trabajamos-imagen img {
    width: 100%;
    height: 100%;
    border-radius: 0 198px 198px 0;
}

/* Contenedor de texto */
.como-trabajamos-text {
    width: 859px;
    position: relative;

}

.como-trabajamos-text ul {
    list-style: none;
    padding: 0;
    margin-left: 10%;
}

.como-trabajamos-text li {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 31px;
    text-align: left;
    padding-left: 30px;
    position: relative;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.como-trabajamos-text li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #019C9E;
    font-size: 24px;
}

/* Sección Aseguradoras */
#aseguradoras{
    font-family: 'SUSE', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 49px;
    color: #019C9E;
    text-align: center;
    margin-bottom: 60px;
}

.aseguradoras-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    max-width: 1475px;
    margin: 0 auto;
    margin-bottom: 30px;
    padding: 60px 20px;
}

.aseguradoras-text {
    flex: 0 0 45%;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 34.8px;
    color: #333333;
}

.aseguradoras-imagen {
    flex: 0 0 55%;
    height: 430px;
}

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

/* 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) {
    .como-trabajamos-content {
        align-items: center;
        margin-bottom: 140px;
    }

    .como-trabajamos-section h1 {
        font-size: 30px;
        margin-bottom: 40px;
    }

    .como-trabajamos-imagen {
        left: 23%;
        flex: 0 0 auto;
        width: 580px;
        height: auto;
    }

    .como-trabajamos-text {
        width: 100%;
    }

    /* Contenedor de texto */
    .como-trabajamos-text {
        width: 700px;
        margin-left: 30%;
        position: relative;
    }

    .como-trabajamos-text ul {
        list-style: none;
        padding: 0;
        margin-left: 10%;
    }

    .como-trabajamos-text li {
        font-family: 'Montserrat', sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 20px;
        text-align: left;
        padding-left: 30px;
        position: relative;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    .como-trabajamos-text li::before {
        content: '•';
        position: absolute;
        left: 0;
        color: #019C9E;
        font-size: 24px;
    }


    #aseguradoras {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .aseguradoras-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 50px;
        max-width: 1475px;
        margin: 0 auto;
        margin-bottom: 30px;
        padding: 40px 10px;
    }

    .aseguradoras-text {
        flex: 0 0 45%;
        font-family: 'Montserrat', sans-serif;
        font-size: 18px;
        font-weight: 400;
        line-height: 34.8px;
        color: #333333;
    }
    
    .aseguradoras-imagen {
        flex: 0 0 55%;
        height: 380px;
    }
    
    .aseguradoras-imagen img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 91px;
    }

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

}

@media screen and (max-width: 1366px) {
    #como-trabajamos{
        padding-top: 60px;
        margin-bottom: 10px;
    }

    #como-trabajamos h1{
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .como-trabajamos-content {
        margin-bottom: 100px;
    }

    .como-trabajamos-imagen {
        width: 540px;
        height: auto;
    }


    /* Contenedor de texto */
    .como-trabajamos-text {
        width: 810px;
        margin-left: 23%;
    }

    .como-trabajamos-text ul {
        margin-left: 10%;
    }

    .como-trabajamos-text li {
        font-size: 15px;
    }

    .como-trabajamos-text li::before {
        font-size: 26px;
    }


    /* Aseguradoras */
    #aseguradoras {
        font-size: 30px;
        margin-bottom: 0px;
    }

    .aseguradoras-content {
        max-width: 1400px;
    }

    .aseguradoras-text {
        font-size: 17px;
    }
    
    .aseguradoras-imagen {
        flex: 0 0 55%;
        height: 350px;
    }

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

@media screen and (max-width: 1024px) {
    .como-trabajamos-text li {
        font-size: 20px;
        line-height: 30px;
    }
}

@media screen and (max-width: 768px) {
    .como-trabajamos-section {
        padding: 100px 0 60px;
    }

    .como-trabajamos-imagen {
        width: 100%;
        height: 300px;
    }

    .como-trabajamos-text {
        padding: 20px;
    }

    .como-trabajamos-text li {
        font-size: 18px;
        line-height: 26px;
    }

    .aseguradoras-imagen {
        height: 300px;
    }
}

/* Responsive mobile */
@media screen and (max-width: 430px) {
    /* Ajustes generales de la sección */
    .como-trabajamos-section {
        padding: 80px 0 40px;
        width: 100%;
        overflow: hidden;
    }

    /* Ajuste del título */
    .como-trabajamos-section h1 {
        font-size: 26px;
        margin-bottom: 30px;
        text-align: center;
    }

    /* Contenedor principal */
    .como-trabajamos-content {
        flex-direction: column;
        margin: 0;
        padding: 0;
        align-items: center;
        width: 100%;
    }

    /* Ajustes de la imagen */
    .como-trabajamos-imagen {
        width: 350px;
        height: 233px;
        margin: 0;
        left: 0;
        right: 0;
        position: relative;
        flex: none;
    }

    .como-trabajamos-imagen img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 25px;
    }

    /* Ajustes del texto y lista */
    .como-trabajamos-text {
        width: 100%;
        margin: 30px 0 0 0;
        padding: 0 20px;
    }

    .como-trabajamos-text ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .como-trabajamos-text li {
        font-family: 'Montserrat', sans-serif;
        font-size: 13px;
        font-weight: 400;
        line-height: 21.19px;
        text-align: center;
        padding-left: 0;
        margin-bottom: 10px;
        position: relative;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    .como-trabajamos-text li::before {
        display: none; /* Removemos el bullet point */
    }

    /* Sección de aseguradoras */
    #aseguradoras {
        font-size: 26px;
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .aseguradoras-content {
        display: flex;
        flex-direction: column-reverse;
        padding: 0;
        gap: 30px;
        margin: 0;
    }

    .aseguradoras-text {
        font-family: 'Montserrat', sans-serif;
        font-size: 13px;
        font-weight: 500;
        line-height: 21.93px;
        text-align: center;
        padding: 0 20px;
        margin: 0;
    }

    .aseguradoras-imagen {
        width: 350px;
        height: 233px;
        margin: 0 ;
    }

    .aseguradoras-imagen img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 25px 0 0 0;
    }
}

@media screen and (max-width: 428px) {
    /* Ajustes generales de la sección */
    .como-trabajamos-section {
        padding: 80px 0 40px;
        width: 100%;
        overflow: hidden;
    }

    /* Ajuste del título */
    .como-trabajamos-section h1 {
        font-size: 26px;
        margin-bottom: 30px;
        text-align: center;
    }

    /* Contenedor principal */
    .como-trabajamos-content {
        flex-direction: column;
        margin: 0;
        padding: 0;
        align-items: center;
        width: 100%;
    }

    /* Ajustes de la imagen */
    .como-trabajamos-imagen {
        width: 350px;
        height: 233px;
        margin: 0;
        left: 0;
        right: 0;
        position: relative;
        flex: none;
    }

    .como-trabajamos-imagen img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 25px;
    }

    /* Ajustes del texto y lista */
    .como-trabajamos-text {
        width: 100%;
        margin: 30px 0 0 0;
        padding: 0 20px;
    }

    .como-trabajamos-text ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .como-trabajamos-text li {
        font-family: 'Montserrat', sans-serif;
        font-size: 13px;
        font-weight: 400;
        line-height: 21.19px;
        text-align: center;
        padding-left: 0;
        margin-bottom: 10px;
        position: relative;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    .como-trabajamos-text li::before {
        display: none; /* Removemos el bullet point */
    }

    /* Sección de aseguradoras */
    #aseguradoras {
        font-size: 26px;
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .aseguradoras-content {
        display: flex;
        flex-direction: column-reverse;
        padding: 0;
        gap: 30px;
        margin: 0;
    }

    .aseguradoras-text {
        font-family: 'Montserrat', sans-serif;
        font-size: 13px;
        font-weight: 500;
        line-height: 21.93px;
        text-align: center;
        padding: 0 20px;
        margin: 0;
    }

    .aseguradoras-imagen {
        width: 350px;
        height: 233px;
        margin: 0 ;
    }

    .aseguradoras-imagen img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 25px 0 0 0;
    }
}

@media screen and (max-width: 414px) {
    /* Ajustes generales de la sección */
    .como-trabajamos-section {
        min-height: auto; /* O un valor que se ajuste a tu contenido */
        height: fit-content;

        padding: 80px 0 40px;
        width: 100%;
        overflow: hidden;
    }
}

@media screen and (max-width: 412px) {
    /* Ajustes generales de la sección */
    .como-trabajamos-section {
        min-height: auto; /* O un valor que se ajuste a tu contenido */
        height: fit-content;

        padding: 80px 0 40px;
        width: 100%;
        overflow: hidden;
    }
}

@media screen and (max-width: 390px) {
    /* Ajustes generales de la sección */
    .como-trabajamos-section {
        min-height: auto; /* O un valor que se ajuste a tu contenido */
        height: fit-content;

        padding: 80px 0 40px;
        width: 100%;
        overflow: hidden;
    }
}

@media screen and (max-width: 360px) {
    /* Ajustes generales de la sección */
    .como-trabajamos-section {
        min-height: auto; /* O un valor que se ajuste a tu contenido */
        height: fit-content;
        padding: 80px 0 40px;
        width: 100%;
        overflow: hidden;
    }

    /* Ajuste del título */
    .como-trabajamos-section h1 {
        font-size: 26px;
        margin-bottom: 30px;
        text-align: center;
    }

    /* Contenedor principal */
    .como-trabajamos-content {
        flex-direction: column;
        margin: 0;
        padding: 0;
        align-items: center;
        width: 100%;
    }

    /* Ajustes de la imagen */
    .como-trabajamos-imagen {
        width: 350px;
        height: 233px;
        margin: 0;
        left: 0;
        right: 0;
        position: relative;
        flex: none;
    }

    .como-trabajamos-imagen img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 25px;
    }

    /* Ajustes del texto y lista */
    .como-trabajamos-text {
        width: 100%;
        margin: 30px 0 0 0;
        padding: 0 20px;
    }

    .como-trabajamos-text ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .como-trabajamos-text li {
        font-family: 'Montserrat', sans-serif;
        font-size: 13px;
        font-weight: 400;
        line-height: 19px;
        text-align: center;
        padding-left: 0;
        margin-bottom: 10px;
        position: relative;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    .como-trabajamos-text li::before {
        display: none; /* Removemos el bullet point */
    }

    /* Sección de aseguradoras */
    #aseguradoras {
        font-size: 26px;
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .aseguradoras-content {
        display: flex;
        flex-direction: column-reverse;
        padding: 0;
        gap: 30px;
        margin: 0;
    }

    .aseguradoras-text {
        font-family: 'Montserrat', sans-serif;
        font-size: 13px;
        font-weight: 500;
        line-height: 21.93px;
        text-align: center;
        padding: 0 20px;
        margin: 0;
    }

    .aseguradoras-imagen {
        width: 350px;
        height: 233px;
        margin: 0 ;
    }

    .aseguradoras-imagen img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 25px 0 0 0;
    }
}


